Re: url pattern matching

2012-09-21 Thread Stephen Anto
n Fri, Sep 21, 2012 at 7:57 PM, Brian Patterson wrote: > 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:

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+)/$', 'de

Re: url pattern matching

2012-09-21 Thread Larry Martell
On Fri, Sep 21, 2012 at 10:27 AM, Brian Patterson wrote: > 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

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