During unit testing I made changes to data in the database
through my
Django app.
I wanted to do some checks through the shell, which I was
opened
during my unit testing, and found that after making some
queries using
Django objects there appeared to be no changes in the
database. When I
checked the database using its admin tool the changes were
there.
To yield the expected results I had to exit from the shell
and restart
it. I then executed my queries using Django objects and all
the
changes were there.
Does anyone know how to "refresh" or better yet
"auto refresh" the
shell so I don't have to shut down and restart it every time
I make a
change to data outside of it.
I'm using IPython 0.7.2 , MySQL 5.0.27, and a dev version of
Django
from a couple of weeks ago.
Thanks in advance,
/Paul
--~--~---------~--~----~------------~-------~--~----~
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
django-users-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|