diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2020-08-13 11:49:04 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2020-08-13 11:49:04 +0100 |
commit | 5a955f9796c199338eb3182f1918c4708593a1be (patch) | |
tree | ff58dbbf9a68cb6bfef04f11386df088e558f5e9 /ctrack/caf/views.py | |
parent | bd7ffed3034f66c16845063667f3bea7cc0a9e9a (diff) |
changed description field to funciton in ApplicableSystem
Diffstat (limited to '')
-rw-r--r-- | ctrack/caf/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctrack/caf/views.py b/ctrack/caf/views.py index 7345319..258774e 100644 --- a/ctrack/caf/views.py +++ b/ctrack/caf/views.py @@ -76,7 +76,7 @@ def applicable_system_create_from_caf(request, caf_id): if form.is_valid(): ApplicableSystem.objects.create( name=form.cleaned_data["name"], - description=form.cleaned_data["description"], + function=form.cleaned_data["function"], caf=form.cleaned_data["caf"], organisation=form.cleaned_data["organisation"], ) @@ -106,7 +106,7 @@ class ApplicableSystemCreateFromOrg( def form_valid(self, form): ass = ApplicableSystem.objects.create( name=form.cleaned_data["name"], - description=form.cleaned_data["description"], + function=form.cleaned_data["function"], organisation=form.cleaned_data["organisation"], caf=form.cleaned_data["caf"], ) |