|
| 1 | +# Generated by Django 5.2.6 on 2025-10-08 22:47 |
| 2 | + |
| 3 | +from django.db import migrations, models |
| 4 | + |
| 5 | + |
| 6 | +class Migration(migrations.Migration): |
| 7 | + |
| 8 | + dependencies = [ |
| 9 | + ("metadata", "0011_alter_activitylabel_additional_identifier"), |
| 10 | + ] |
| 11 | + |
| 12 | + operations = [ |
| 13 | + migrations.AlterField( |
| 14 | + model_name="activitylabel", |
| 15 | + name="activity_type", |
| 16 | + field=models.CharField( |
| 17 | + choices=[ |
| 18 | + ("LivelihoodActivity", "Livelihood Activity"), |
| 19 | + ("OtherCashIncome", "Other Cash Income"), |
| 20 | + ("WildFoods", "Wild Foods, Fishing or Hunting"), |
| 21 | + ("LivelihoodSummary", "Livelihood Summary"), |
| 22 | + ], |
| 23 | + default="LivelihoodActivity", |
| 24 | + help_text="The type of Livelihood Activity the label is for: either a general Livelihood Activity, or an Other Cash Income activity from the 'Data2' worksheet, or a Wild Foods, Fishing or Hunting activity from the 'Data3' worksheet, or a label from the 'Summary' section of the 'Data' worksheet.", |
| 25 | + max_length=20, |
| 26 | + verbose_name="Activity Type", |
| 27 | + ), |
| 28 | + ), |
| 29 | + migrations.AlterField( |
| 30 | + model_name="activitylabel", |
| 31 | + name="status", |
| 32 | + field=models.CharField( |
| 33 | + blank=True, |
| 34 | + choices=[ |
| 35 | + ("Regular Expression", "Processed by Regular Expression"), |
| 36 | + ("Override", "Override automatically recognized metadata"), |
| 37 | + ("Discussion", "Under Discussion"), |
| 38 | + ("Correct BSS", "Correct the BSS"), |
| 39 | + ("Ignore", "Ignore this label and associated data in the row"), |
| 40 | + ], |
| 41 | + max_length=20, |
| 42 | + verbose_name="Status", |
| 43 | + ), |
| 44 | + ), |
| 45 | + migrations.AlterField( |
| 46 | + model_name="activitylabel", |
| 47 | + name="strategy_type", |
| 48 | + field=models.CharField( |
| 49 | + blank=True, |
| 50 | + choices=[ |
| 51 | + ("MilkProduction", "Milk Production"), |
| 52 | + ("ButterProduction", "Butter Production"), |
| 53 | + ("MeatProduction", "Meat Production"), |
| 54 | + ("LivestockSale", "Livestock Sale"), |
| 55 | + ("CropProduction", "Crop Production"), |
| 56 | + ("FoodPurchase", "Food Purchase"), |
| 57 | + ("PaymentInKind", "Payment in Kind"), |
| 58 | + ("ReliefGiftOther", "Relief, Gift or Other Food"), |
| 59 | + ("Hunting", "Hunting"), |
| 60 | + ("Fishing", "Fishing"), |
| 61 | + ("WildFoodGathering", "Wild Food Gathering"), |
| 62 | + ("OtherCashIncome", "Other Cash Income"), |
| 63 | + ("OtherPurchase", "Other Purchase"), |
| 64 | + ("LivestockProduction", "Livestock Production"), |
| 65 | + ], |
| 66 | + help_text="The type of livelihood strategy, such as crop production, or wild food gathering.", |
| 67 | + max_length=30, |
| 68 | + verbose_name="Strategy Type", |
| 69 | + ), |
| 70 | + ), |
| 71 | + ] |
0 commit comments