We are writing a custom admin for CleanerVersion that subclasses ModelAdmin. 
Just about every attribute has a hook method which makes extension easier. For 
example, list_display has get_list_display(). However, exclude doesn't have one 
implemented and it seems like an oversight. I'm proposing we add one.

Our current work seeking is to write a property descriptor for exclude but then 
the admin check fails with it not being a tuple or list. Then you have to 
create a custom admin checks class to suppress the exclude check error because 
it's not a tuple or list (but really a descriptor).

If this is ok, I'Ill write a PR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/c1e8762d-1c9f-47e9-8fe7-e9761c27e057%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to