#9123: URL Resolver tag chokes with verbose regex in the urlconf
--------------------------------------+-------------------------------------
          Reporter:  programmerq      |         Owner:  nobody
            Status:  closed           |     Milestone:        
         Component:  Template system  |       Version:  1.0   
        Resolution:  invalid          |      Keywords:        
             Stage:  Unreviewed       |     Has_patch:  0     
        Needs_docs:  0                |   Needs_tests:  0     
Needs_better_patch:  0                |  
--------------------------------------+-------------------------------------
Comment (by programmerq):

 The problem isn't necessarily that the reverse mapper can't generate a
 reverse for a verbose regex, as much as it breaks *all* url tags.

 When I went to the admin main page, it'd die and throw the error from the
 admin template. This made debugging the actual underlying issue very
 cryptic and strange.

 I was playing with the old URL resolver, and it appears that it can't
 exactly "figure out" a url based on a verbose regex, but it wouldn't choke
 and die if there happened to be a verbose regex in the urlconf.

 I'll try to at least work out a different way to "die better" and open a
 new ticket with that patch. It really made quite the head scratcher for me
 and a couple people that had no idea why in the world the admin app
 appeared to not be working once upgrading to 1.0.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/9123#comment:2>
Django <http://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