I'm using it in model.model,DateField() date that forms from this i need to change.
On Aug 31, 6:56 pm, PANCHICORE <thepan...@gmail.com> wrote: > Hi v. I guess you want to give a format in the template, date tag, > formats a date according to the given format as you can see here > (http://docs.djangoproject.com/en/dev/ref/templates/builtins/#date). > > ex: > > {{ date_value|date:"d-M-Y" }} > return: > '31-Aug-2009'. > > On Aug 31, 3:45 pm, vishak <visha...@gmail.com> wrote: > > > Hi All > > > I'm trying to change the default date format of django. The present > > format is '2009-08-31'. I want to display this format as '31- > > Aug-2009'. > > > I tried putting date_time format in settings.py but no result. Even > > tried to do with java script but all went in vain. Can the group give > > me an idea on this. Is it possible in django. > > > This link has the information but i don't know how to use > > it.http://docs.djangoproject.com/en/dev/ref/settings/#date-format. > > > Hoping for Reply > > Vishak.V --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---