Dears,

I am using Django 1.2.1 now.
When I use Multiple databases and routers,
It's working correctly in my web views.
But when I try to use it in standalone script, like this
###
os.sys.path.append(DJANGO_PROJECT_PATH)
from django.core.management import setup_environ
from test import settings

setup_environ(settings)
###
I will get the error "django.db.utils.DatabaseError: no such table:"
What's wrong with me?

Very Thanks.
-- 
Best regards,
Eric Chen

-- 
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.

Reply via email to