diff options
author | Dirk Wallenstein <halsmit@t-online.de> | 2011-01-16 23:46:48 +0000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2011-02-11 09:08:34 +0800 |
commit | ab21927af7fa4003a0da8986c8448cb4cb134d6c (patch) | |
tree | e28006dccf88f4fc91cbeb7945ca7fdab00781bb /apps/settings.py | |
parent | 47c56dfaceefaa44e5057236a5b63a05f68a981d (diff) | |
download | patchwork-ab21927af7fa4003a0da8986c8448cb4cb134d6c.tar patchwork-ab21927af7fa4003a0da8986c8448cb4cb134d6c.tar.gz |
models: Don't require optional model fields in forms
Add blank = True for nullable fields, to allow forms to be subitted
without a value for these fields.
The keyword 'blank' concerns only validation and does not change what
will be stored in the database.
Signed-off-by: Dirk Wallenstein <halsmit@t-online.de>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'apps/settings.py')
0 files changed, 0 insertions, 0 deletions