#16024: documentation problem, not sure
------------------------------+-------------------------------
 Reporter:  nicolaetitus12@…  |          Owner:  nobody
     Type:  Uncategorized     |         Status:  new
Milestone:                    |      Component:  Documentation
  Version:  1.3               |       Severity:  Normal
 Keywords:                    |   Triage Stage:  Unreviewed
Has patch:  0                 |  Easy pickings:  1
------------------------------+-------------------------------
 here

 http://docs.djangoproject.com/en/1.3/topics/http/urls/#naming-url-patterns


 {{{
 urlpatterns = patterns('',
     url(r'^archive/(\d{4})/$', archive, name="full-archive"),
     url(r'^archive-summary/(\d{4})/$', archive, {'summary': True}, "arch-
 summary"),
 )
 }}}


 should be


 {{{
 urlpatterns = patterns('',
     url(r'^archive/(\d{4})/$', archive, name="full-archive"),
     url(r'^archive-summary/(\d{4})/$', archive, {'summary': True}, name
 ="arch-summary"),
 )
 }}}

 it's missing the name= label

-- 
Ticket URL: <http://code.djangoproject.com/ticket/16024>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

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

Reply via email to