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

pythonpath problem

2008-11-25 Thread Chris Amico
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 folder called 'apps' holding all my personal and third party apps. It's

Re: apache PythonPath problem + solution

2008-09-28 Thread felix
well yes, I have to admit that I've been doing quite a bit of django and I hadn't yet realized that it must always be the direct parent. but in this case I was kind of just staring at the problem and not seeing it. and I think my dev environment python path is too loose or something. now that i

Re: apache PythonPath problem + solution

2008-09-28 Thread Graham Dumpleton
Your solution was what the documentation tells you to do. I still contend that the documentation could better explain this, but when I pushed that in the past others felt it was clear enough already. Despite that, people still have problems, that or people don't actually read the documentation. :

apache PythonPath problem + solution

2008-09-28 Thread felix
Hello, I wrote up this big problem to ask you kind folx for help, and in the course of that I figured it out. But I'm still going to post it just to share the experience. I have an apache config problem, maybe someone can help. I am setting up the production version on my site : apache conf