I'm a rookie at Django so this is probably something obvious.

My urls.py looks like this:

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'^sunlight/', include('sunlight.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'),
    (r'^start/', 'sunlight.start.views.index'),
    (r'req/','sunlight.requests.views.index'),
)
~


When I hit the site, I get:

Page not found (404)
Request Method:         GET
Request URL:    http://server2/start/

Using the URLconf defined in sunlight.urls, Django tried these URL
patterns, in this order:

   1. ^admin/doc/
   2. ^admin/(.*)
   3. ^[/]$
   4. req/

The current URL, start/, didn't match any of these.

So it looks like it isn't properly interpreting the regex on line 3.

Any help would be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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