mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
style: Fix a few minor style issues
This commit is contained in:
@@ -14,9 +14,18 @@ class PersonForm(forms.ModelForm):
|
||||
"""
|
||||
class Meta:
|
||||
model = models.Person
|
||||
exclude = [
|
||||
'user',
|
||||
'relationship_targets',
|
||||
fields = [
|
||||
'name',
|
||||
'core_member',
|
||||
'gender',
|
||||
'age_group',
|
||||
'nationality',
|
||||
'country_of_residence',
|
||||
'organisation',
|
||||
'job_title',
|
||||
'discipline',
|
||||
'role',
|
||||
'themes',
|
||||
]
|
||||
widgets = {
|
||||
'nationality': Select2Widget(),
|
||||
|
||||
@@ -175,5 +175,3 @@ class Person(models.Model):
|
||||
|
||||
def __str__(self) -> str:
|
||||
return self.name
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user