Yes -- that does resolve the problem -- adding the directory
containing mysite to the PYTHONPATH. Wonderful, Jarek.


On Feb 7, 4:38 pm, Jarek Zgoda <[EMAIL PROTECTED]> wrote:
> Schmoopie napisaƂ(a):
>
> > DJANGO_SETTINGS_MODULE issues are driving me crazy. So any assistance
> > appreciated.
>
> > I set the environ variable to mysite.settings, as recommended in the
> > documentation, but then I get: ImportError could not import settings
> > 'mysite.settings', no module named mysite.settings
>
> > Should the variable not be set to mysite.settings? And if not, then to
> > what?
>
> "mysite" has to be importable. Open interpreter session and type:
>
> >>> import mysite
>
> If this gives you import error, you have to add the directory containing
> "mysite" to PYTHONPATH variable.
>
> --
> Jarek Zgoda
> Skype: jzgoda | GTalk: [EMAIL PROTECTED] | voice: +48228430101
>
> "We read Knuth so you don't have to." (Tim Peters)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to