X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/b30dc629467c86b0eb89a8276443e5f51d96dab7..96d01dae2c8363247f6953022e147fd4a3e4e624:/contact/admin.py diff --git a/contact/admin.py b/contact/admin.py index 3fd337f..3776fc4 100644 --- a/contact/admin.py +++ b/contact/admin.py @@ -21,6 +21,7 @@ class ContactAdmin(admin.ModelAdmin): ["admin_list_%d" % i for i in range(admin_list_width)] fields = ['form_tag', 'created_at', 'contact', 'ip'] readonly_fields = ['form_tag', 'created_at', 'contact', 'ip'] + list_filter = ['form_tag'] def admin_list(self, obj, nr): try: