python - Database Error at /myapp/ -
i include choice field in model
quote_template = models.charfield(_('template'), choices=template, max_length=20) and error coming
databaseerror @ /quote/ current transaction aborted, commands ignored until end of transaction block any idea??? how resolve this??
adding fields model not magically update existing database schema - either have , or use schema-migration tool south.
Comments
Post a Comment