fnp
/
edumed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Forum: styling topic view
[edumed.git]
/
contact
/
admin.py
diff --git
a/contact/admin.py
b/contact/admin.py
index
3776fc4
..
ee1623d
100644
(file)
--- a/
contact/admin.py
+++ b/
contact/admin.py
@@
-7,7
+7,7
@@
from django.template import Template
from django.utils.safestring import mark_safe
from django.utils.safestring import mark_safe
-class ContactAdminMeta(admin.ModelAdmin.__
meta
class__):
+class ContactAdminMeta(admin.ModelAdmin.__class__):
def __getattr__(cls, name):
if name.startswith('admin_list_'):
return lambda self: ""
def __getattr__(cls, name):
if name.startswith('admin_list_'):
return lambda self: ""