diff options
author | MR Lemon <matt@matthewlemon> | 2020-05-01 21:21:11 +0100 |
---|---|---|
committer | MR Lemon <matt@matthewlemon> | 2020-05-01 21:21:11 +0100 |
commit | b562707e4598c7f04463e688928b90b47196b6c1 (patch) | |
tree | 91bd87181b01d57e249e92154e99ed1387f76cac | |
parent | fbe7fb2c4da9d990b5f8f77c30a23dd296fac15a (diff) |
removed updated_by field but getting an integrity error
-rw-r--r-- | ctrack/organisations/forms.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ctrack/organisations/forms.py b/ctrack/organisations/forms.py index 2609a6b..0caf628 100644 --- a/ctrack/organisations/forms.py +++ b/ctrack/organisations/forms.py @@ -21,7 +21,6 @@ class OrganisationCreateForm(forms.ModelForm): "designation_type", "registered_company_name", "registered_company_number", - "updated_by", "comments", "active" ), @@ -35,13 +34,12 @@ class OrganisationCreateForm(forms.ModelForm): model = Organisation fields = ["name", "submode", "oes", "designation_type", "registered_company_name", "registered_company_number", - "updated_by", "comments", "active"] + "comments", "active"] labels = { "oes": "OES" } help_texts = { "submode": "e.g. Rail Maintenance, TOC, etc...", - "updated_by": "Name of staff member/inspector creating this record", "active": "Is this company an active participant in the NIS compliance regime?", "designation_type": "This is probably defined in the Reguation", } |