Date format errors and date defaults

3 views
Skip to first unread message

Lachlan Musicman

unread,
May 6, 2012, 6:41:17 PM5/6/12
to Django users
I'm getting an error I don't quite understand how to solve - despite
having

USE_L10N = True
DATE_FORMAT=('j N, Y')
DATE_INPUT_FORMATS=('%d %B %Y')

in my settings.py, the SelectDateWidget still renders in Month/Day/
Year order instead of day/month/year?

Also, is there a way to set the default month and day? Basically if
only the year is known, I'd like the date to default to 1st January,
but I don't want to necessarily have to enter that data?


Cheers
L.
Reply all
Reply to author
Forward
0 new messages