#5890: Fancy quotes in sitemaps sample code
------------------------------+---------------------------------------------
Reporter:  [EMAIL PROTECTED]  |       Owner:  nobody       
  Status:  new                |   Component:  Documentation
 Version:  SVN                |    Keywords:  quotes       
   Stage:  Unreviewed         |   Has_patch:  0            
------------------------------+---------------------------------------------
 The bit of code on http://www.djangoproject.com/documentation/sitemaps/
 under the Initialization header that shows you how to add sitemaps to your
 urls.py file uses fancy quotes.  This means when you copy the line to a
 text editor, it won't execute properly.

 Here's the current line:

 {{{ (r’^sitemap.xml$’, ‘django.contrib.sitemaps.views.sitemap’,
 {‘sitemaps’: sitemaps}) }}}

 And here's the same with non-fancy quotes:

 {{{ (r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap',
 {'sitemaps': sitemaps}) }}}

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