Hi,

On Thursday 06 March 2014 23:23:50 Jon Dufresne wrote:
> 
> I am using Django 1.6. I find myself using date_format semi-regularly
> to convert datetime objects to strings in the DATE_FORMAT format. [...]
> I am considering a pull request that extends Python's datetime class
> that overrides the __str__, __unicode__ methods to always return the
> date formatted with the configured DATE_FORMAT.
> 
> Any thoughts on this? If I do the work, is this something that has a
> chance of being accepted?
> 

Can you present your use-case in more detail? Why do you have to format the 
dates explicitly in Python code, rather than use the template filter "date"?

Shai.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/201403090439.39173.shai%40platonix.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to