feat(people): Add first user data fields

To support choices in CharFields, Django choices enums have been
backported by bringing in the source file from Django 3.0.3

See #1
This commit is contained in:
James Graham
2020-02-21 17:10:26 +00:00
parent e4a50dbfa4
commit 6d2737b1a6
11 changed files with 194 additions and 5 deletions

View File

@@ -12,11 +12,11 @@ class PersonForm(forms.ModelForm):
"""
class Meta:
model = models.Person
fields = [
'name',
'core_member',
exclude = [
'user',
'relationship_targets',
]
class RelationshipForm(forms.ModelForm):
"""