summaryrefslogtreecommitdiff
path: root/pgweb/util/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'pgweb/util/helpers.py')
-rw-r--r--pgweb/util/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pgweb/util/helpers.py b/pgweb/util/helpers.py
index 68628ce6..f4fee7b4 100644
--- a/pgweb/util/helpers.py
+++ b/pgweb/util/helpers.py
@@ -34,7 +34,7 @@ def simple_form(instancetype, itemid, request, formclass, formtemplate='base/for
# Set fixed fields. Note that this will not work if the fixed fields are ManyToMany,
# but we'll fix that sometime in the future
if fixedfields:
- for k, v in fixedfields.items():
+ for k, v in list(fixedfields.items()):
setattr(r, k, v)
r.save()