#16573: admindocs "views" view returns no urls
----------------------+-----------------------------------
 Reporter:  lopopolo  |          Owner:  nobody
     Type:  Bug       |         Status:  new
Milestone:            |      Component:  contrib.admindocs
  Version:  SVN       |       Severity:  Normal
 Keywords:            |   Triage Stage:  Unreviewed
Has patch:  1         |  Easy pickings:  0
    UI/UX:  0         |
----------------------+-----------------------------------
 The conditions in the if in extract_views_from_url patterns are in the
 wrong order. This results in all of my root level urls matching a nil view
 function. Swapping the if and elif conditions fixes the problem

 Diff is attached.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16573>
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