#8804: Documentation example gives wrong result
---------------------------+------------------------------------------------
 Reporter:  toke           |       Owner:  nobody    
   Status:  new            |   Milestone:            
Component:  Documentation  |     Version:  SVN       
 Keywords:  trivial        |       Stage:  Unreviewed
Has_patch:  0              |  
---------------------------+------------------------------------------------
 {{{
 (r'^sitemap-(?P<section>.+).xml$',
 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps})
 }}}

 This won't work. and results in sitemap-mysectionnamexxml instead of
 sitemap-mysectionname.xml

 This will work:
 {{{
 (r'^sitemap-(?P<section>.+)\.xml$',
 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps})
 }}}

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