mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
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:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user