Skip to content
Snippets Groups Projects
Commit 370f9302 authored by Tore.Brede's avatar Tore.Brede
Browse files

GREG-21: Allowing contact person for unit to be blank

parent 2c271ac7
No related branches found
No related tags found
1 merge request!24GREG-21: Various model updates
...@@ -97,8 +97,7 @@ class PersonRole(BaseModel): ...@@ -97,8 +97,7 @@ class PersonRole(BaseModel):
# attached to the institution but does not have a guest account # attached to the institution but does not have a guest account
start_date = models.DateField(null=True) start_date = models.DateField(null=True)
end_date = models.DateField() end_date = models.DateField()
# TODO Is this field needed? contact_person_unit = models.TextField(blank=True)
contact_person_unit = models.TextField()
comments = models.TextField(blank=True) comments = models.TextField(blank=True)
available_in_search = models.BooleanField(default=False) available_in_search = models.BooleanField(default=False)
registered_by = models.ForeignKey( registered_by = models.ForeignKey(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment