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.
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
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
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
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
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
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
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
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
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
10 matches
Mail list logo