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):
# 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'
@ -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'])),
('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)),
@ -181,4 +181,4 @@ class Migration(SchemaMigration):
}
}
complete_apps = ['itemlist']
complete_apps = ['itemlist']