This repository has been archived by the owner on Feb 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add facility type & other facility type fields
- add facility_type field & choices for facility claim - add other_facility_type field for facility claim - update profile form and details screen to show facility type data
- Loading branch information
Kelly Innes
committed
Jul 8, 2019
1 parent
b25e320
commit 8d93c74
Showing
9 changed files
with
144 additions
and
3 deletions.
There are no files selected for viewing
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
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
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
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
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
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,33 @@ | ||
# Generated by Django 2.0.13 on 2019-07-08 20:40 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('api', '0021_auto_20190708_1947'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='facilityclaim', | ||
name='facility_type', | ||
field=models.CharField(blank=True, choices=[('Cut and Sew / RMG', 'Cut and Sew / RMG'), ('Fabric Mill', 'Fabric Mill'), ('Dyehouse', 'Dyehouse'), ('Laundry', 'Laundry'), ('Finishing', 'Finishing'), ('Tannery', 'Tannery'), ('Spinning', 'Spinning'), ('Ginning', 'Ginning'), ('Other', 'Other')], help_text='The editable facility type for this claim.', max_length=17, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='facilityclaim', | ||
name='other_facility_type', | ||
field=models.CharField(blank=True, help_text='Editable alternate text when facility type is OTHER.', max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='historicalfacilityclaim', | ||
name='facility_type', | ||
field=models.CharField(blank=True, choices=[('Cut and Sew / RMG', 'Cut and Sew / RMG'), ('Fabric Mill', 'Fabric Mill'), ('Dyehouse', 'Dyehouse'), ('Laundry', 'Laundry'), ('Finishing', 'Finishing'), ('Tannery', 'Tannery'), ('Spinning', 'Spinning'), ('Ginning', 'Ginning'), ('Other', 'Other')], help_text='The editable facility type for this claim.', max_length=17, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='historicalfacilityclaim', | ||
name='other_facility_type', | ||
field=models.CharField(blank=True, help_text='Editable alternate text when facility type is OTHER.', max_length=200, null=True), | ||
), | ||
] |
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
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
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