1
0
mirror of https://github.com/django/django.git synced 2025-10-30 17:16:10 +00:00

[1.4.X] Fixed #18530 -- Fixed a small regression in the admin filters where wrongly formatted dates passed as url parameters caused an unhandled ValidationError. Thanks to david for the report.

This commit is contained in:
Julien Phalip
2012-09-15 16:33:56 -07:00
parent 421ce44e8b
commit 336dfc3413
4 changed files with 13 additions and 5 deletions

View File

@@ -127,7 +127,7 @@ class CustomArticleAdmin(admin.ModelAdmin):
class ThingAdmin(admin.ModelAdmin):
list_filter = ('color__warm', 'color__value')
list_filter = ('color__warm', 'color__value', 'pub_date',)
class InquisitionAdmin(admin.ModelAdmin):