I was using the ipython shell to run 'run manage.py reset myapp'
(because I was using IPython anyway) but unfortunatly it seemed like
IPython cached the models or SQL. Running 'sqlreset' instead of 'reset'
showed me that some old SQL was used, so updating the models didn't
change the SQL. that IPython sent to the db. Restarting IPython fixed
the problem.

I think this should be mentioned somewhere in the documentation (next
to the fact that you have to run django.db.connection._commit() to
update the shell with the latest db records).


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to