-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make optional some fields in LivelihoodActivity sub-classes see HEA-596
- Loading branch information
Showing
3 changed files
with
439 additions
and
44 deletions.
There are no files selected for viewing
103 changes: 103 additions & 0 deletions
103
apps/baseline/migrations/0019_alter_foodpurchase_times_per_year_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# Generated by Django 5.1.1 on 2024-11-29 01:26 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("baseline", "0018_alter_livelihoodactivity_price_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="foodpurchase", | ||
name="times_per_year", | ||
field=models.PositiveSmallIntegerField( | ||
blank=True, | ||
help_text="Number of times in a year that the purchase is made", | ||
null=True, | ||
verbose_name="Times per year", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="foodpurchase", | ||
name="unit_multiple", | ||
field=models.PositiveSmallIntegerField( | ||
blank=True, | ||
help_text="Multiple of the unit of measure in a single purchase", | ||
null=True, | ||
verbose_name="Unit Multiple", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="othercashincome", | ||
name="times_per_year", | ||
field=models.PositiveSmallIntegerField( | ||
blank=True, | ||
help_text="Number of times in a year that the income is received", | ||
null=True, | ||
verbose_name="Times per year", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="otherpurchase", | ||
name="times_per_year", | ||
field=models.PositiveSmallIntegerField( | ||
blank=True, | ||
help_text="Number of times in a year that the product is purchased", | ||
null=True, | ||
verbose_name="Times per year", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="paymentinkind", | ||
name="months_per_year", | ||
field=models.PositiveSmallIntegerField( | ||
blank=True, | ||
help_text="Number of months in a year that the labor is performed", | ||
null=True, | ||
verbose_name="Months per year", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="paymentinkind", | ||
name="people_per_household", | ||
field=models.PositiveSmallIntegerField( | ||
blank=True, | ||
help_text="Number of household members who perform the labor", | ||
null=True, | ||
verbose_name="People per household", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="paymentinkind", | ||
name="times_per_year", | ||
field=models.PositiveSmallIntegerField( | ||
blank=True, | ||
help_text="Number of times in a year that the labor is performed", | ||
null=True, | ||
verbose_name="Times per year", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="reliefgiftother", | ||
name="times_per_year", | ||
field=models.PositiveSmallIntegerField( | ||
blank=True, | ||
help_text="Number of times in a year that the item is received", | ||
null=True, | ||
verbose_name="Times per year", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="reliefgiftother", | ||
name="unit_multiple", | ||
field=models.PositiveSmallIntegerField( | ||
blank=True, | ||
help_text="Multiple of the unit of measure received each time", | ||
null=True, | ||
verbose_name="Unit Multiple", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.