You may get this type of error “no such column” when you change the models.

Try this one

$python manage.py reset thenameofyourapp

$python manage.py syncdb

———-

PS: The problem here is that all existing database will be going away.

One Response to “When you got Django "no such column" error”

  1. Thank you for this! :D

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2011 Web Oom Suffusion theme by Sayontan Sinha
Switch to our mobile site
Top Footer