#9123: URL Resolver tag chokes with verbose regex in the urlconf
-----------------------------+----------------------------------------------
Reporter: programmerq | Owner: nobody
Status: new | Milestone:
Component: Template system | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
-----------------------------+----------------------------------------------
Any project that uses python verbose regular expressions in its urlconf
causes the {{{{% url %}}}} tag to crash. I believe that the culprit is
likely r8760, though I haven't tested that theory. The {{{{% url %}}}} tag
throws a !TemplateSyntaxError with Exception Value: Caught an exception
while rendering: Non-reversible reg-exp portion: '(?x'
If r8760 really was the culprit, then it isn't 100% backwards compatible.
--
Ticket URL: <http://code.djangoproject.com/ticket/9123>
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
-~----------~----~----~----~------~----~------~--~---