You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
Hiya,
In the Django Admin for the DateField I only want to display the Year
and Month as select lists. I'll default the day to the 1st every time.
Is this possible?
I want to keep the dates very simple, as I'll be adding many items
from 1900 to now. So using the current DateField calendar in Django
Admin would be an absolute nightmare.
Any ideas?
Joshua Russo
unread,
Oct 19, 2009, 7:38:14 PM10/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Your best bet is to extend the date form field and input widget.
The Danny Bos
unread,
Oct 19, 2009, 7:40:05 PM10/19/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
APologies for my naivety, how would I do that.
Any examples you can point me toward?
In the description there are also links to the entire series of objects, including an input widget. That should get you started on the concept of extending fields and widgets.