Re: pythonpath problem

2008-11-26 Thread Malcolm Tredinnick
On Wed, 2008-11-26 at 12:50 -0800, Chris Amico wrote: > OK, here's another wrinkle: The modules in that folder import fine on > the browser end. I put tagging in there, and that shows up in my admin > list with no errors. So mod_python is picking up the vhost file, but > I'm not getting it in the

Re: pythonpath problem

2008-11-26 Thread Graham Dumpleton
On Nov 27, 7:50 am, Chris Amico <[EMAIL PROTECTED]> wrote: > OK, here's another wrinkle: The modules in that folder import fine on > the browser end. I put tagging in there, and that shows up in my admin > list with no errors. So mod_python is picking up the vhost file, but > I'm not getting it

Re: pythonpath problem

2008-11-26 Thread Chris Amico
OK, got it working. Changed it in .bash_profile. Easier than I thought, always. Thanks folks. On Nov 26, 12:50 pm, Chris Amico <[EMAIL PROTECTED]> wrote: > OK, here's another wrinkle: The modules in that folder import fine on > the browser end. I put tagging in there, and that shows up in my admi

Re: pythonpath problem

2008-11-26 Thread Chris Amico
OK, here's another wrinkle: The modules in that folder import fine on the browser end. I put tagging in there, and that shows up in my admin list with no errors. So mod_python is picking up the vhost file, but I'm not getting it in the shell. Thus when I try python manage.py shell with anything fr

Re: pythonpath problem

2008-11-25 Thread Graham Dumpleton
On Nov 26, 5:38 pm, Chris Amico <[EMAIL PROTECTED]> wrote: > Right. And the PythonPath directive ought to do the trick, but it > clearly isn't. The server belongs to a friend who gave me permission > to everything under the redfenceproject.com directory (one above > redfence), and I created the

Re: pythonpath problem

2008-11-25 Thread Chris Amico
Right. And the PythonPath directive ought to do the trick, but it clearly isn't. The server belongs to a friend who gave me permission to everything under the redfenceproject.com directory (one above redfence), and I created the apps folder, so I'm not sure what the problem is. On Nov 25, 10:29 p

Re: pythonpath problem

2008-11-25 Thread Graham Dumpleton
On Nov 26, 5:13 pm, Chris Amico <[EMAIL PROTECTED]> wrote: > I have a handful of apps in that folder. I can add it to sys.path > using sys.path.insert(0, path) and they import fine after, but that > only lasts one session. How do I make it stick? That is what PythonPath directive is for. Graha

Re: pythonpath problem

2008-11-25 Thread Chris Amico
I have a handful of apps in that folder. I can add it to sys.path using sys.path.insert(0, path) and they import fine after, but that only lasts one session. How do I make it stick? On Nov 25, 5:28 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2008-11-25 at 14:55 -0800, Chris Amico

Re: pythonpath problem

2008-11-25 Thread Malcolm Tredinnick
On Tue, 2008-11-25 at 14:55 -0800, Chris Amico wrote: > Hi folks, > > I'm having some trouble getting a directory onto my pythonpath. I'm > sure I'm missing something obvious here. > > On my server, I have a directory with my django work called redfence. > Inside is my project, along with a fol