Hi, I have some shelved instances that were saved when a module was
run from command line, but when it is run from inside django:

from reminders import *
Tasks()

I get the standard shelve error: 'module' object has no attribute
'Task'.

reminders module has classes Task and Tasks defined.

If I create a test module test.py and do:

from reminders import *
Tasks()

It works without error, so the issue is with some magic namespace
manipulation Django is doing?

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to