I have the exact same problem with Django 1.0.2 Final on Debian Etch
(Apache 2.2.3-4+etch6 / mod_python 3.2.10-4) -- My settings.py, vhost
and urls.py are nearly exactly the same as above (the relelant parts
anyway.)

On Dec 12, 3:00 am, Bluemilkshake <bluemilksh...@googlemail.com>
wrote:
> Of course.
> urls.py below:
>
> Underneath that is the relevant <Location> directives from my
> vhosts.conf file.
>
> Many thanks,
> -M
>
> --- urls.py ---
> from django.conf.urls.defaults import *
>
> # Uncomment the next two lines to enable the admin:
> from django.contrib import admin
> admin.autodiscover()
>
> urlpatterns = patterns('',
>     # Example:
>     # (r'^djangotest/', include('djangotest.foo.urls')),
>
>     # Uncomment the admin/doc line below and add
> 'django.contrib.admindocs'
>     # to INSTALLED_APPS to enable admin documentation:
>     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
>
>     # Uncomment the next line to enable the admin:
>     (r'^admin/(.*)', admin.site.root),
> )
> --- end of file ---
>
> --- Segment from vhosts.conf ---
> <VirtualHost xxx.xxx.xxx.xx:80>
>         <Location />
>                 # Options +Includes
>                 SetHandler python-program
>                 PythonHandler django.core.handlers.modpython
>                 SetEnv DJANGO_SETTINGS_MODULE djangotest.settings
>                 SetEnv PYTHON_EGG_CACHE /var/tmp/egg
>                 PythonOption django.root /
>                 PythonDebug On
>                 PythonPath "['<path_to_my_project>'] + sys.path"
>         </Location>
> </VirtualHost>
> --- end of file segment ---
>
> On Dec 12, 10:45 am, Daniel Roseman <roseman.dan...@googlemail.com>
> wrote:
>
> > On Dec 12, 9:41 am, Bluemilkshake <bluemilksh...@googlemail.com>
> > wrote:> You're right DR, apologies. I did think it may be a syntax issue but
> > > it appears not to be.
> > > Would it matter at what position the admin reference appears in
> > > INSTALLED_APPS?
>
> > > Below is the settings.py file being used. Hope this is of more help.
>
> > > Many thanks,
> > > -M
>
> > That looks OK - could you post your urls.py, the problem may be there?
> > --
> > DR.
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to