diff --git a/local.env b/local.env new file mode 100644 index 000000000..0044acafb --- /dev/null +++ b/local.env @@ -0,0 +1,2 @@ +OS_PEOPLE_DIRECTORY=/Users/alyibrahim/projects/civiqa/backend/openstates/people +DATABASE_URL=postgres://alyibrahim:42571allahis1@localhost:5432/civiqa-db diff --git a/openstates/data/common.py b/openstates/data/common.py index 8e81d745c..a0513ed7a 100644 --- a/openstates/data/common.py +++ b/openstates/data/common.py @@ -44,6 +44,7 @@ ("party", "Party"), ("committee", "Committee"), ("government", "Government"), + ("subcommittee", "Subcommittee"), ) ORGANIZATION_CLASSIFICATIONS = _keys(ORGANIZATION_CLASSIFICATION_CHOICES) diff --git a/openstates/data/migrations/0045_alter_organization_classification.py b/openstates/data/migrations/0045_alter_organization_classification.py new file mode 100644 index 000000000..3db733544 --- /dev/null +++ b/openstates/data/migrations/0045_alter_organization_classification.py @@ -0,0 +1,18 @@ +# Generated by Django 3.2.8 on 2021-11-19 11:53 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('data', '0044_bill_citations'), + ] + + operations = [ + migrations.AlterField( + model_name='organization', + name='classification', + field=models.CharField(blank=True, choices=[('legislature', 'Legislature'), ('executive', 'Executive'), ('upper', 'Upper Chamber'), ('lower', 'Lower Chamber'), ('party', 'Party'), ('committee', 'Committee'), ('government', 'Government'), ('subcommittee', 'Subcommittee')], help_text='The type of Organization being defined.', max_length=100), + ), + ]