X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/225112630311389d806ce3f7f02f443f9aaa67da..b2789efe30a42c1c9780c6cf132d905ea7e41c87:/contact/admin.py diff --git a/contact/admin.py b/contact/admin.py index 3776fc4..ee1623d 100644 --- a/contact/admin.py +++ b/contact/admin.py @@ -7,7 +7,7 @@ from django.template import Template from django.utils.safestring import mark_safe -class ContactAdminMeta(admin.ModelAdmin.__metaclass__): +class ContactAdminMeta(admin.ModelAdmin.__class__): def __getattr__(cls, name): if name.startswith('admin_list_'): return lambda self: ""