Re: New to Django cannot figure URLpatterns

2013-10-15 Thread Bill Freeman
Actually, there is a character class \D; it matches any NON-digit. As such this should match title, as long as it contains non digits. But looking at this line from the error message: 8. ^plugin/ ^(?P\d+)/$ [name='detail'] It appears that you are actually using the little \d, contrary to the

Re: New to Django cannot figure URLpatterns

2013-10-15 Thread Tom Evans
On Mon, Oct 14, 2013 at 11:58 PM, Mark Strickland wrote: > > I am new to using Django and I can get one urls to work, but I cannot get > another. I am running Django 1.5 > > This url works. > > url(r'^$', views.index, name='index'), > > > But if I try to follow this one. > > url(r'^(?P\D+)/$',

Re: New to Django cannot figure URLpatterns

2013-10-14 Thread Tom Lockhart
On 2013-10-14, at 3:58 PM, Mark Strickland wrote: > I am new to using Django and I can get one urls to work, but I cannot get > another. I am running Django 1.5 > > This url works. > > url(r'^$', views.index, name='index'), > > But if I try to follow this one. > > url(r'^(?P\D+)/$', views

New to Django cannot figure URLpatterns

2013-10-14 Thread Mark Strickland
I am new to using Django and I can get one urls to work, but I cannot get another. I am running Django 1.5 This url works. url(r'^$', views.index, name='index'), But if I try to follow this one. url(r'^(?P\D+)/$', views.detail, name='detail'), I get the following error.when I try http://1