fix default values
This commit is contained in:
parent
d241b90b63
commit
35bdfba77c
2 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ class Migration(SchemaMigration):
|
|||
def forwards(self, orm):
|
||||
# Adding field 'Edit.query'
|
||||
db.add_column('edit_edit', 'query',
|
||||
self.gf('ox.django.fields.DictField')(default={'static': True}),
|
||||
self.gf('ox.django.fields.DictField')(default='{"static": true}'),
|
||||
keep_default=False)
|
||||
|
||||
# Adding field 'Edit.type'
|
||||
|
|
|
@ -16,7 +16,7 @@ class Migration(SchemaMigration):
|
|||
('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='lists', to=orm['auth.User'])),
|
||||
('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
|
||||
('status', self.gf('django.db.models.fields.CharField')(default='private', max_length=20)),
|
||||
('query', self.gf('ox.django.fields.DictField')(default={'static': True})),
|
||||
('query', self.gf('ox.django.fields.DictField')(default='{"static": true}')),
|
||||
('type', self.gf('django.db.models.fields.CharField')(default='static', max_length=255)),
|
||||
('description', self.gf('django.db.models.fields.TextField')(default='')),
|
||||
('icon', self.gf('django.db.models.fields.files.ImageField')(default=None, max_length=100, blank=True)),
|
||||
|
|
Loading…
Reference in a new issue