Hi everyone,

I'm having problems with making Django work ok. I have a debian box
with mod_python 3 and Django installed ok. I started to follow the
tutorial and got to the admin area part. This is where I can't make it
work.

Django's webserver works fine.

Apache2 and mod_python yeld the error:
"Using the URLconf defined in djtest.urls, Django tried these URL
patterns, in this order:
^admin/
The current URL, /django/djtest/admin/, didn't match any of these."

Here's my setup: a directory called django where I plan keeping the
django projects and a project called djtest in it (the one in the
tutorial).
I'm using a .htaccess in the django directory which looks like this:

SetHandler mod_python
PythonHandler django.core.handlers.mod_python
PythonPath "sys.path + ['/srv/.../htdocs/django']"
SetEnv DJANGO_SETTINGS_MODULE djtest.settings
PythonDebug on

Trying /django/, /django/admin/, /django/djtest/ or
/django/djtest/admin/ I get the same error as previously mention.

Any ideas what I'm doing wrong? 

Thanks in advance, 
Andu Badiu

Reply via email to