Hi list,

What is correct way of using the same model with different modelAdmin
classes in different applications? The reason is that I need to have
different change_lists for this model (since different applications
are used in different ways).
I've tried subclassing (and specified the same db_table in derived
class): admin counts objects in the databes correctly, but
change_list_result is empty. Also there is a problem with modelAdmin:
it doesn't see functions declared in base class, when I specify
list_display (but if I check the namespace with dir(NewDerivedClass) I
see all functions).
Now I'm looking forward using __metaclass__ for twin model to be used
in second app.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to