X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/2255b0e589ea2ba75a4d4b538dcfd59b9b70e472..baf89aa9174c764f934662e8b24ed9a99a1c3992:/contact/admin.py?ds=sidebyside 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):