Re: django-admin not seeing settings.py

2005-11-16 Thread Waylan Limberg
On 11/16/05, felix <[EMAIL PROTECTED]> wrote: > > and note that the PYTHON_PATH should specify the *parent* directory of > your project. > > I just tried it again with DJANGO_SETTINGS_MODULE **not** exported and > passing in django-admin.py --settings=myproject.settings > > that does not work,

Re: django-admin not seeing settings.py

2005-11-16 Thread felix
and note that the PYTHON_PATH should specify the *parent* directory of your project. I just tried it again with DJANGO_SETTINGS_MODULE **not** exported and passing in django-admin.py --settings=myproject.settings that does not work, you have to set/export DJANGO_SETTINGS_MODULE thanks

Re: django-admin not seeing settings.py

2005-11-10 Thread Luke Plant
On Thu, 10 Nov 2005 12:16:47 -0500 Waylan Limberg wrote: > > On 11/10/05, James Bennett <[EMAIL PROTECTED]> wrote: > > > > On 11/10/05, felix <[EMAIL PROTECTED]> wrote: > > > do this: > > > export DJANGO_SETTINGS_MODULE=myproject.settings > > > > Yeah, that's mentioned in the documentation.

Re: django-admin not seeing settings.py

2005-11-10 Thread James Bennett
On 11/10/05, Waylan Limberg <[EMAIL PROTECTED]> wrote: > I still don't have it working for me, and I did the export > DJANGO_SETTINGS_MODULE=myproject.settings thing. Whats the best way to > see what your PYTHONPATH is set to and change it? Maybe something is > wrong there. (I'm on Debian with

Re: django-admin not seeing settings.py

2005-11-10 Thread Waylan Limberg
On 11/10/05, James Bennett <[EMAIL PROTECTED]> wrote: > > On 11/10/05, felix <[EMAIL PROTECTED]> wrote: > > do this: > > export DJANGO_SETTINGS_MODULE=myproject.settings > > Yeah, that's mentioned in the documentation. Perhaps what was > happening was that you'd changed a .bash_profile or .bashrc

Re: django-admin not seeing settings.py

2005-11-10 Thread Waylan Limberg
On 11/10/05, James Bennett <[EMAIL PROTECTED]> wrote: > > On 11/10/05, felix <[EMAIL PROTECTED]> wrote: > > do this: > > export DJANGO_SETTINGS_MODULE=myproject.settings > > Yeah, that's mentioned in the documentation. Perhaps what was > happening was that you'd changed a .bash_profile or .bashrc

Re: django-admin not seeing settings.py

2005-11-10 Thread James Bennett
On 11/10/05, felix <[EMAIL PROTECTED]> wrote: > do this: > export DJANGO_SETTINGS_MODULE=myproject.settings Yeah, that's mentioned in the documentation. Perhaps what was happening was that you'd changed a .bash_profile or .bashrc file to set your DJANGO_SETTINGS_MODULE and PYTHONPATH, and then

Re: django-admin not seeing settings.py

2005-11-10 Thread felix
ok mine is working now. do this: export DJANGO_SETTINGS_MODULE=myproject.settings and thereafter all the django-admin.py commands work correctly.

Re: django-admin not seeing settings.py

2005-11-10 Thread felix
> 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

Re: django-admin not seeing settings.py

2005-11-07 Thread Waylan Limberg
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

Re: django-admin not seeing settings.py

2005-11-07 Thread rockmh
I am using FCGI on my host and I find that I am often required to "pkill python" in order to make certain types of changes actually show up. Annoying, but not a problem for my users. Just a thought...

Re: django-admin not seeing settings.py

2005-11-07 Thread Waylan Limberg
On 11/7/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 11/6/05, Waylan Limberg <[EMAIL PROTECTED]> wrote: > > I'v gone through the first toturial before on another box no problem, > > but on this machine I can't seem to get it to work. After setting the > > database conection info in

Re: django-admin not seeing settings.py

2005-11-07 Thread Adrian Holovaty
On 11/6/05, Waylan Limberg <[EMAIL PROTECTED]> wrote: > I'v gone through the first toturial before on another box no problem, > but on this machine I can't seem to get it to work. After setting the > database conection info in myproject/settings.py I try to run > 'django-admin.py init

Re: django-admin not seeing settings.py

2005-11-07 Thread stan8688
I got this problem too. when i use postgresql. but I solved it . when I drop old db and create new db set owner=postgres , tablespace= pg_default and public . maybe you are the same problem. holp to help you. Waylan Limberg wrote: > I'v gone through the first toturial before on another box no

Re: django-admin not seeing settings.py

2005-11-07 Thread Marcos Sánchez Provencio
You might try executing python with the -v option El lun, 07-11-2005 a las 15:21 +0800, limodou escribió: > > I just noticed that the line breaks (in the comments) on the first two > > lines were actual line breaks, not just wrapping text. I fixed that, > > but still no go. The last two lines

Re: django-admin not seeing settings.py

2005-11-06 Thread limodou
> I just noticed that the line breaks (in the comments) on the first two > lines were actual line breaks, not just wrapping text. I fixed that, > but still no go. The last two lines are definitely wrapping text. > > It's still telling me the DATABASE_ENGINE is set to 'postgresql' > maybe there

Re: django-admin not seeing settings.py

2005-11-06 Thread Waylan Limberg
> DATABASE_ENGINE = 'mysql' # 'postgresql', 'mysql', 'sqlite3' or > 'ado_mssql'. > DATABASE_NAME = 'djangodb' # Or path to database file if > using sqlite3. > DATABASE_USER = 'username' # Not used with sqlite3. > DATABASE_PASSWORD = 'pass' # Not used with sqlite3.

Re: django-admin not seeing settings.py

2005-11-06 Thread Waylan Limberg
On 11/7/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > On Monday 07 Nov 2005 11:40 am, Waylan Limberg wrote: > > and there is definitely only one 'myproject' directory on the system > > and only one setting.py file in that dir. > > could you paste the database part of your settings.py file

Re: django-admin not seeing settings.py

2005-11-06 Thread Waylan Limberg
On 11/7/05, limodou <[EMAIL PROTECTED]> wrote: > > 2005/11/7, Waylan Limberg <[EMAIL PROTECTED]>: > > > > I'v gone through the first toturial before on another box no problem, > > but on this machine I can't seem to get it to work. After setting the > > database conection info in

Re: django-admin not seeing settings.py

2005-11-06 Thread Kenneth Gonsalves
On Monday 07 Nov 2005 11:40 am, Waylan Limberg wrote: > and there is definitely only one 'myproject' directory on the system > and only one setting.py file in that dir. could you paste the database part of your settings.py file somewhere? -- regards kg http://www.livejournal.com/users/lawgon

Re: django-admin not seeing settings.py

2005-11-06 Thread limodou
2005/11/7, Waylan Limberg <[EMAIL PROTECTED]>: > > I'v gone through the first toturial before on another box no problem, > but on this machine I can't seem to get it to work. After setting the > database conection info in myproject/settings.py I try to run > 'django-admin.py init

django-admin not seeing settings.py

2005-11-06 Thread Waylan Limberg
I'v gone through the first toturial before on another box no problem, but on this machine I can't seem to get it to work. After setting the database conection info in myproject/settings.py I try to run 'django-admin.py init --settings=myproject.settings'. I get the following error: Error: The