#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 Todd O'Bryan <[EMAIL PROTECTED]>):

 Aha!!! Your example is the path to the view function--I just didn't know
 about the new names functionality. You're having trouble with this
 {{{
 urlpatterns = patterns('',
   url(r'^xyz/$', 'path.to.view', name='some.name.with.dots'),
 )
 }}}
 
 It doesn't seem like that would be too hard to fix. Since the URL
 namespace is global, you'd just have to check the name dictionary before
 you try checking view paths. I'll see if I can figure that out.
 
 Also, I will happily open a new ticket for my problem and apologize for
 grabbing your issue because I was misunderstanding.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4453#comment:12>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to