SelectDateWidget in Django Admin?
Posted
by Maria
on Stack Overflow
See other posts from Stack Overflow
or by Maria
Published on 2009-08-10T15:41:32Z
Indexed on
2010/04/19
18:03 UTC
Read the original article
Hit count: 269
django-admin
|django
Can i change default AdminDateWidget to SelectDateWidget in my models?
How can i do this?
I try:
class RespondentAdmin(admin.ModelAdmin):
formfield_overrides = {
models.DateField: {'widget': SelectDateWidget},
}
but it doesn't work
© Stack Overflow or respective owner