Changes between Initial Version and Version 1 of Ticket #17873
- Timestamp:
- Mar 12, 2012, 2:04:26 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17873 – Description
initial v1 1 1 Because 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. 2 2 3 {{{ 3 4 >>> from django.utils.translation import ugettext, get_date_formats 4 5 >>> get_date_formats() … … 10 11 setattr(self, real_name, getattr(trans, real_name)) 11 12 AttributeError: 'module' object has no attribute 'get_date_formats' 13 }}}