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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -