diff options
author | Valérie-Emma Leroux <emma@iggdrasil.net> | 2017-01-11 20:41:18 +0100 |
---|---|---|
committer | Valérie-Emma Leroux <emma@iggdrasil.net> | 2017-01-11 20:41:18 +0100 |
commit | e50193c9c6c5d6d2ae50f0035ce6c9cf66d787fe (patch) | |
tree | d0fbcd2db93906f1aec28dbe6d658a531025edc4 /archaeological_warehouse/forms.py | |
parent | 98c1b479cba0348a8253325ad98db555419d2570 (diff) | |
parent | b8d1d34feafb626bb4351ffbf7fd7d2d43724c2d (diff) | |
download | Ishtar-e50193c9c6c5d6d2ae50f0035ce6c9cf66d787fe.tar.bz2 Ishtar-e50193c9c6c5d6d2ae50f0035ce6c9cf66d787fe.zip |
Merge branch 'master' into master-trad
Diffstat (limited to 'archaeological_warehouse/forms.py')
-rw-r--r-- | archaeological_warehouse/forms.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archaeological_warehouse/forms.py b/archaeological_warehouse/forms.py index e91d04d61..d76ce6b70 100644 --- a/archaeological_warehouse/forms.py +++ b/archaeological_warehouse/forms.py @@ -184,6 +184,7 @@ class ContainerForm(ManageOldType, forms.Form): dct['container_type'] = models.ContainerType.objects.get( pk=dct['container_type']) dct['location'] = models.Warehouse.objects.get(pk=dct['location']) + dct['responsible'] = models.Warehouse.objects.get(pk=dct['responsible']) new_item = models.Container(**dct) new_item.save() return new_item |