On 7/22/07, Kai Kuehne <[EMAIL PROTECTED]> wrote: > > ImportError: No module named kaikuehne ... > When I run the code above in ``python manage.py shell`` it works perfectly so > I guess I'm just missing to set something what mange.py does:
You need to set up your PYTHONPATH. Your project should be in your PYTHONPATH, so that Django can import your project, and the apps in that project. Your script has an explicit workaround for this problem with settings.py - but Django needs to be able to access _all_ of your project, not just settings.py Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---