> On 11/7/05, Waylan Limberg <[EMAIL PROTECTED]> wrote:
> > On 11/7/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
> > > Django isn't finding your settings.py file. It's falling back to
> > > "postgresql" because that's the default fallback (according to the
> > > file django/conf/global_settings.py).
> >
> > That's what I suspected.

Same situation for me.  I specify mysql, but it complains of postgresql
problems.  Its not finding the settings file.

> > > Make sure your "myproject" directory is on the PYTHONPATH. You should
> > > be able to switch to another, unrelated directory -- such as "/temp/"
> > > -- start the Python interactive interpreter and type "import
> > > myproject.settings".

I tried this through the interpreter, same results as Waylan.  I'm new
to python, but I wouldn't expect a python environment variable to
remain persistent across interpreter sessions.  Are they really
supposed to ?  If so, how long would they persist ?

Tried django-admin.py init --pythonpath=/Users/me/Sites/djangotest
--settings=myproject.settings
Didn't work.  This is maybe a problem in django-admin ?

I tried setting the unix envir variable PYTHONPATH
Still doesn't find it.

thanks all.

Reply via email to