Daniel,
Now i'm getting the error:

Could not parse the remainder: ' "jS o\f F"' from 'a.date|date "jS o\f
F"'

///////////////

I just looked at my Admin.  And when I open each record I see the
value 'True' in my date field.  However, when I look at it in the
template it shows the correct date '2008-03-01' (when i just use
{{ a.date }} ).

Thanks




On Mar 2, 1:37 pm, Daniel Roseman <[EMAIL PROTECTED]>
wrote:
> On 2 Mar, 18:45, Greg <[EMAIL PROTECTED]> wrote:
>
>
>
> > Justin,
> > I tried that but I'm still getting the following error:
>
> > Invalid block tag: 'a.date|date'
>
> > ////////////
>
> > My Model file is setup this way:
>
> > class Guestbook(models.Model):
> >     name = models.CharField(maxlength=100)
> >     location = models.CharField(maxlength=100)
> >     state = models.USStateField()
> >     date = models.DateField()
> >     comment = models.TextField(maxlength=5000)
>
> It's a variable, not a tag, so use {{ a.date|date "jS o\f F" }} - ie
> {{ }}, rather than {% %}.
>
> --
> DR.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to