#4453: url pattern name can contain dots, but reverse('pattern.name.with.dots')
will always fail
------------------------------------------+---------------------------------
Reporter: [EMAIL PROTECTED] | Owner: jacob
Status: reopened | Component: Uncategorized
Version: SVN | Resolution:
Keywords: url reverse dot | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
------------------------------------------+---------------------------------
Comment (by Forest Bond <[EMAIL PROTECTED]>):
Well, regardless of whether dots should be accepted in view names, it's a
bug to allow them and then not deal with them effectively in reverse. If
django doesn't want dots there, it would be nice to see an exception when
the URLs are read.
Personally, I see no reason dots shouldn't be allowed. I looked at the
code that's choking on them, and I distinctly remember thinking that the
breakage is due to a pretty straight-forward shortcoming that one often
sees in first-iteration code.
--
Ticket URL: <http://code.djangoproject.com/ticket/4453#comment:5>
Django Code <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
-~----------~----~----~----~------~----~------~--~---