Re: url pattern matching

2012-09-21 Thread Brian Patterson
Thanks Larry, This is what my urls.py file looks like: from django.conf.urls.defaults import * from django.contrib import admin admin.autodiscover() urlpatterns = patterns('paperforms.views', 'IS THIS THE LINE I SHOULD MODIFY? url(r'^paperforms/$', 'index'), url(r'^paperforms/(?P\d+)/$',

url pattern matching

2012-09-21 Thread Brian Patterson
Hi Everyone, I'm very new to Django and just trying to explore the basics. I'm having a problem with the url pattern matching. If i go to site: http://mysite:8000/paperforms/ I get the following error: Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order: