diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-11 17:10:43 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-01-11 17:10:43 +0100 |
| commit | 0373340c3f02eb22401380e643f0a698f756fb3a (patch) | |
| tree | c3bb4111f2aa2299533383650495e31ef6988998 /archaeological_warehouse/forms.py | |
| parent | df582ec0a708cfac96351fc4521509fef7054dbf (diff) | |
| parent | cde6d2c13a479c24b6a93929938b06c353e7c2c4 (diff) | |
| download | Ishtar-0373340c3f02eb22401380e643f0a698f756fb3a.tar.bz2 Ishtar-0373340c3f02eb22401380e643f0a698f756fb3a.zip | |
Merge branch 'v0.9' into wheezy
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 |
