#16910: Misleading regex in urlpatterns inclusion example
-----------------------+-------------------------------
 Reporter:  ochmann@…  |          Owner:  nobody
     Type:  Bug        |         Status:  new
Milestone:             |      Component:  Documentation
  Version:  1.3        |       Severity:  Normal
 Keywords:             |   Triage Stage:  Unreviewed
Has patch:  0          |  Easy pickings:  0
    UI/UX:  0          |
-----------------------+-------------------------------
 In the second example from
 [https://docs.djangoproject.com/en/1.3/topics/http/urls/#including-other-
 urlconfs Including other URLconfs], the "extra_patterns" do not start with
 a "{{{^}}}" which seems to lead to a situation where anything can be
 inserted between the first and the second part of the defined URL. For
 instance,

 credit/reports/123/

 and

 credit/somethingsomethingreports/123/

 would both lead to the "credit.views.report" view.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16910>
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to