Browse Source

No default value for storage.

12.0-mig-module_prototyper_last
Jairo Llopis 9 years ago
committed by Vladislav Shepilov
parent
commit
f28779af8e
  1. 3
      base_multi_image/models/image.py

3
base_multi_image/models/image.py

@ -28,8 +28,7 @@ class Image(models.Model):
required=True) required=True)
storage = fields.Selection( storage = fields.Selection(
[('url', 'URL'), ('file', 'OS file'), ('db', 'Database')], [('url', 'URL'), ('file', 'OS file'), ('db', 'Database')],
required=True,
default='db')
required=True)
name = fields.Char( name = fields.Char(
'Image title', 'Image title',
required=True, required=True,

Loading…
Cancel
Save