X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/2255b0e589ea2ba75a4d4b538dcfd59b9b70e472..5d78f2b7af4ee0f1aa48f1e2538ef40ea6b19b00:/contact/admin.py?ds=inline diff --git a/contact/admin.py b/contact/admin.py index 22d3593..437ad97 100644 --- a/contact/admin.py +++ b/contact/admin.py @@ -28,6 +28,7 @@ class ContactAdmin(admin.ModelAdmin): fields = ['form_tag', 'created_at', 'contact', 'ip'] readonly_fields = ['form_tag', 'created_at', 'contact', 'ip'] list_filter = ['form_tag'] + search_fields = ['contact', 'body'] @staticmethod def admin_list(obj, nr):