This problem has been known since at least last year -- check out http://code.djangoproject.com/ticket/1796 . It has been vexing me for a couple months, but I have yet to find an elegant solution.
There is a workaround in django.core.management.run_shell() that cures the problem in the manage.py shell. But pasting that workaround into my script has no effect. Search django-users for "cannot resolve keyword" and you'll see there is a suggestion to do ugly things to the import statements (which, in turn, requires doing ugly things to PYTHONPATH). That works, but it's real hideous. --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---