atias
> > Sent: 4 February 2007 1:50 PM
> > To: Django users
> > Subject: DATETIME_FORMAT ignored
>
> > Hi,
>
> > Hi,
>
> > I'm my settings.py I've added the following line:
>
> > DATETIME_FORMAT = 'j/n/y'
>
> > and then
Try {{ object.pub_date|date }}
Chris
> -Original Message-
> From: django-users@googlegroups.com [mailto:[EMAIL PROTECTED]
> On Behalf Of Matias
> Sent: 4 February 2007 1:50 PM
> To: Django users
> Subject: DATETIME_FORMAT ignored
>
>
> Hi,
>
> Hi,
&
Hi,
Hi,
I'm my settings.py I've added the following line:
DATETIME_FORMAT = 'j/n/y'
and then in my template I print a DateTimeField of an object like
this:
{{object.pub_date}}
But, the format I specified on the settings.py file doesn't seem to
have any
effect.
Also, the DATETIME_FORMAT val
3 matches
Mail list logo