Re: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Brandon Taylor
Hi Aaron, I'm assuming that it doesn't have errors, as I can run the website using the built-in server. It's just an new, empty project, so all I get is the django welcome page. I'm hoping I'll have better luck configuring my Mac at home, which is where I'll be doing 99% of my development anyway.

Re: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Aaron Fay
Brandon, I just realized also, from your original error: EnvironmentError: Could not import settings 'testproject.settings' (Is it on sys.path? Does it have syntax errors?): No module named testproject.settings. Does it have syntax errors? Aaron Aaron Fay wrote: Hey Brandon, Here's m

Re: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Aaron Fay
Hey Brandon, Here's my exact setup:               SetHandler python-program         PythonPath "['C:\django'] + sys.path"         PythonHandler django.core.handlers.modpython         SetEnv DJANGO_SETTINGS_MODULE testproject.settings         PythonDebug On                   SetHand

Re: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Brandon Taylor
Hi Guys, Yes, I've tried that as well. No dice. Ugh! b On Feb 6, 1:22 pm, Michael Hipp <[EMAIL PROTECTED]> wrote: > Is there a reason this line looks like this: > > > > Instead of like this: > > > > Michael > > Brandon Taylor wrote: > > Well, still no working solution, but here is my

Re: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Michael Hipp
Is there a reason this line looks like this: > Instead of like this: > Michael Brandon Taylor wrote: > Well, still no working solution, but here is my httpd.config now: > > > SetHandler python-program > PythonPath "['C:/django_projects/', 'C:/Python25/lib/site-packages/ > dj

RE: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Matt Vickers
Try changing to Django's probably looking for testproject.testproject.settings M. -Original Message- From: django-users@googlegroups.com on behalf of Brandon Taylor Sent: Thu 2/7/2008 8:16 a.m. To: Django users Subject: Re: Setting up Apache & mod_python on my development

Re: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Brandon Taylor
Well, still no working solution, but here is my httpd.config now: SetHandler python-program PythonPath "['C:/django_projects/', 'C:/Python25/lib/site-packages/ django'] + sys.path" PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE testproject.settings

Re: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Brandon Taylor
Hi Aaron, I'm still getting the same error after I restart Apache. Is there a better setup to use for the install location for Django and where I place my projects that plays nice with Apache? Thanks, Brandon On Feb 6, 11:05 am, Aaron Fay <[EMAIL PROTECTED]> wrote: > Hey Brandon, > > I have min

Re: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Jonathan Ballet
Hi, Brandon Taylor wrote: > > SetHandler python-program > PythonPath "['C:/django_projects/testproject'] + sys.path" > [...] Try : PythonPath "['C:/django_projects/'] + sys.path" instead, since "testproject" is the subdirectory where you project lives in. Maybe changing the

Re: Setting up Apache & mod_python on my development computer

2008-02-06 Thread Aaron Fay
Hey Brandon, I have mine working on the same rig as you (looks like). Here's a shot in the dark: # << add forward slash SetHandler python-program PythonPath "['C:/django_projects/'] + sys.path" # << remove 'testproject' PythonHandler django.core.handlers.modpython SetEnv DJANG