Changes between Initial Version and Version 1 of Ticket #17873


Ignore:
Timestamp:
Mar 12, 2012, 2:04:26 AM (12 years ago)
Author:
Aymeric Augustin
Comment:

Fixed formatting -- please use "Preview".

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17873 – Description

    initial v1  
    11Because django.utils.translation.get_date_formats just proxies to either the null or real translation functions, those functions sets must have get_date_formats as a member.  Neither have it.
    22
     3{{{
    34>>> from django.utils.translation import ugettext, get_date_formats
    45>>> get_date_formats()
     
    1011    setattr(self, real_name, getattr(trans, real_name))
    1112AttributeError: 'module' object has no attribute 'get_date_formats'
     13}}}
Back to Top