Re: Fwd: Break with Django SVN r6718

2007-12-10 Thread Josh Stone
On Dec 10, 2007 3:03 PM, Todd O'Bryan <[EMAIL PROTECTED]> wrote: > Hmm. What you said about not having Django installed in site-packages > makes me think... > > What does your PYTHONPATH environment variable have in it? > I wasn't setting PYTHONPATH to anything. Normally packages are picked up j

Re: Fwd: Break with Django SVN r6718

2007-12-10 Thread Todd O'Bryan
Hmm. What you said about not having Django installed in site-packages makes me think... What does your PYTHONPATH environment variable have in it? Do you possibly have the current directory listed before the path to Django? Because if you try to from django.conf import settings before your set

Re: Fwd: Break with Django SVN r6718

2007-12-10 Thread Josh Stone
I'm not sure what else to try, but let me know if there's something specific you want to see. Here's a similar session to what you ran, but note that I demonstrate 6717 working first. Also note that I'm running Django from '~/mysite/django'; I don't have any Django version installed in site-packa

Re: Fwd: Break with Django SVN r6718

2007-12-09 Thread Todd O'Bryan
Crapola. r6718 was a patch I wrote. Without the patch you only get app-defined commands if you use manage.py. With django-admin.py, you don't get app-defined commands, even if you specify a --settings=path module. I just tried the steps you mentioned and everything works fine, both in Python 2.4

Re: Fwd: Break with Django SVN r6718

2007-12-04 Thread Josh Stone
I just found that commit 6871 fixed the problem by reverting 6718: "Undid [6718], as it broke 'django-admin.py runserver' for a reason I haven't figured out yet" But since there still seems to be some mystery, I went on with some debugging on 6718 anyway below. On Dec 2, 6:53 am, Malcolm Tre

Re: Fwd: Break with Django SVN r6718

2007-12-02 Thread Malcolm Tredinnick
On Fri, 2007-11-30 at 16:18 -0800, Josh Stone wrote: > Hi all, > > I'm having problems using Review Board with recent Django revisions, > and I'm hoping that this list can help. Please see below for the > previous discussion, but the gist is that with Django r6718 (and > later), I'm getting exc

Fwd: Break with Django SVN r6718

2007-11-30 Thread Josh Stone
Hi all, I'm having problems using Review Board with recent Django revisions, and I'm hoping that this list can help. Please see below for the previous discussion, but the gist is that with Django r6718 (and later), I'm getting exceptions when urls.py tries to access site settings. I did some deb