SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 4739662d authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Make possible size of subsidies higher (!)

parent bbc50b14
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
# Generated by Django 1.11.4 on 2018-10-08 14:29
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('finances', '0005_auto_20181008_1405'),
]
operations = [
migrations.AlterField(
model_name='subsidy',
name='amount',
field=models.PositiveIntegerField(help_text='in € (rounded)'),
),
]
...@@ -35,7 +35,7 @@ class Subsidy(models.Model): ...@@ -35,7 +35,7 @@ class Subsidy(models.Model):
organization = models.ForeignKey('organizations.Organization', on_delete=models.CASCADE) organization = models.ForeignKey('organizations.Organization', on_delete=models.CASCADE)
subsidy_type = models.CharField(max_length=256, choices=SUBSIDY_TYPES) subsidy_type = models.CharField(max_length=256, choices=SUBSIDY_TYPES)
description = models.TextField() description = models.TextField()
amount = models.PositiveSmallIntegerField(help_text="in € (rounded)") amount = models.PositiveIntegerField(help_text="in € (rounded)")
status = models.CharField(max_length=32, choices=SUBSIDY_STATUS) status = models.CharField(max_length=32, choices=SUBSIDY_STATUS)
date = models.DateField() date = models.DateField()
date_until = models.DateField(blank=True, null=True) date_until = models.DateField(blank=True, null=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment