I'm probably missing some basic python convensions about importing
modules, but...I've been trying to work with my model and get it all
working before working with the views. Normally, when working with
normal python scripts I'd do something like this..
import google_utils as g
print g.search("trees")
..find an error then do a quick reload(g) and try it again... But
when working with the ./manage.py shell... first I have to...
from whatever.models import *
site = Site.objects.all()[0]
site.gsearch("fields")
.... now at this point, if i get an error, because I have used "from
xxx import yyy" ... I can't reload x or y... which means I have to
quit the shell and run the lines again after having made my
changes... this can be really tiresome... is there a way to work like
this and reload things on the fly... or even better have them noticed
that they've changed and reloaded automatically like the server does?
thanks
tom
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---