I have a model with DateField, set like this :
date = models.DateField(blank=False, default=datetime.now)
each time I put that field data in a tamplate ({{obj.date}}
) it shown in this format :
July 24, 2014
and I want to change that permanently to this format:
24.7.2014
also I have a search page where data can be searched by its date field - I want to be able to search in this format as well. How can I do that?
EDIT: I think it has somthing to do with the LANGUAGE_CODE = 'en-us'
setting. when I change that it also changes the format of the date. how can it be overwrited?