#14164: Automatic localization of numbers (L10N) in templates can cause invalid
sitemap priorities
-------------------------------------------+--------------------------------
          Reporter:  dokterbob             |         Owner:  nobody             
                     
            Status:  reopened              |     Milestone:                     
                     
         Component:  Internationalization  |       Version:  1.2                
                     
        Resolution:                        |      Keywords:  
internationalization L10N sitemaps comma
             Stage:  Unreviewed            |     Has_patch:  1                  
                     
        Needs_docs:  0                     |   Needs_tests:  0                  
                     
Needs_better_patch:  1                     |  
-------------------------------------------+--------------------------------
Changes (by palkeo):

  * status:  closed => reopened
  * needs_better_patch:  0 => 1
  * resolution:  fixed =>

Comment:

 I have applied this patch on my django installation because i had the same
 problem.

 But there is another problem, only with the GenericSitemap : when the
 priority is not specified, i have « None » in the priority field of the
 sitemap.

 I think you have to modify the lines 84 and 87 of the same file, and
 change the default value of priority, from None to ''.

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