fix default values

This commit is contained in:
j 2016-02-19 19:01:38 +05:30
parent d241b90b63
commit 35bdfba77c
2 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@ class Migration(SchemaMigration):
def forwards(self, orm): def forwards(self, orm):
# Adding field 'Edit.query' # Adding field 'Edit.query'
db.add_column('edit_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) keep_default=False)
# Adding field 'Edit.type' # Adding field 'Edit.type'
@ -218,4 +218,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['edit'] complete_apps = ['edit']

View file

@ -16,7 +16,7 @@ class Migration(SchemaMigration):
('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='lists', to=orm['auth.User'])), ('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)), ('name', self.gf('django.db.models.fields.CharField')(max_length=255)),
('status', self.gf('django.db.models.fields.CharField')(default='private', max_length=20)), ('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)), ('type', self.gf('django.db.models.fields.CharField')(default='static', max_length=255)),
('description', self.gf('django.db.models.fields.TextField')(default='')), ('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)), ('icon', self.gf('django.db.models.fields.files.ImageField')(default=None, max_length=100, blank=True)),
@ -181,4 +181,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['itemlist'] complete_apps = ['itemlist']