Skip to content

Commit

Permalink
Use PickleField by default
Browse files Browse the repository at this point in the history
  • Loading branch information
samluescher committed Apr 11, 2014
1 parent ac057c1 commit 1ebf0e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion form_designer/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,6 @@
MAX_UPLOAD_SIZE = getattr(settings, 'MAX_UPLOAD_SIZE', 5242880) # 5M
MAX_UPLOAD_TOTAL_SIZE = getattr(settings, 'MAX_UPLOAD_TOTAL_SIZE', 10485760) # 10M

VALUE_PICKLEFIELD = getattr(settings, 'FORM_DESIGNER_VALUE_PICKLEFIELD', False)
# If true, submitted values won't be stored as strings, but serialized to a PickleField,
# preserving the original type.
VALUE_PICKLEFIELD = getattr(settings, 'FORM_DESIGNER_VALUE_PICKLEFIELD', True)

0 comments on commit 1ebf0e1

Please sign in to comment.