I have 1 page in my app where I want to override the app's date
format. I tried assigning to settings.DATE_FORMAT in the view but that
had no effect. I know I can format the date in the template, but
without making a lot of changes, I don't know what fields are dates. I
thought perhaps the date filter would just pass through non-dates
unchanged, but that's not what it did.

How can I override the date format just for 1 view or how can I tell
in the template if a field is date or not?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACwCsY5_gixmw1SushNaK011z0_WF_64UoQVvrGnXc9Qp-HxiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to