#3574: {% url path.to.view %} doesn't un-escape
----------------------------------------+-----------------------------------
Reporter:  yary h <[EMAIL PROTECTED]>  |       Owner:  jacob        
  Status:  new                          |   Component:  Uncategorized
 Version:  SVN                          |    Keywords:  url          
   Stage:  Unreviewed                   |   Has_patch:  0            
----------------------------------------+-----------------------------------
 I have a view which can return a report as html, a "word" doc, or
 postscript. The url pattern looks like
 {{{ (r'^rep/(?P<report_id>\d+)\.(?P<format>html|doc|ps)$','gen')) }}}
 
 Note the escaped period- it needs to match a literal "dot".
 
 the {% url %} template tag then generates a URL that includes the
 backslash, like {{{/rep/152\.html }}}. That doesn't actually match the
 pattern!

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