Re: Custom times in admin time selector

2012-02-10 Thread Tom Evans
On Wed, Feb 8, 2012 at 2:15 PM, Sebastian Goll wrote: > Hi all, > > For DateTimeFields, the admin presents selector widgets for both the > date and time form fields. The default choices for the time selector > are: Now, Midnight, 6 a.m., Noon. > > I'd like to replace those default choices with som

Custom times in admin time selector

2012-02-08 Thread Sebastian Goll
Hi all, For DateTimeFields, the admin presents selector widgets for both the date and time form fields. The default choices for the time selector are: Now, Midnight, 6 a.m., Noon. I'd like to replace those default choices with something different, depending on the ModelAdmin instance in question.