Wednesday, November 27, 2013

Admin permissions for proxy ModelAdmins?

Hello all, 

I want to have multiple admin interfaces for editing the same model under different circumstances. The way I've been doing this is to register multiple proxy models, each with their own ModelAdmins. However, the proxy models don't seem to generate permissions, so they don't show up in the admin interface for non-superusers. The fact that they do show up for superusers suggests that there's a way to make them available to others, but I'm having trouble figuring out how.

Based on things I've read since I came up with this plan, it's sounding like a better way to do what I'm trying to do would be to override change_view() on a single ModelAdmin anyway, but I'm still curious about the above, in case it ever becomes relevant again (and, while I'm at it, a sanity-check on my suspicion that the change_view approach is indeed the more appropriate solution would be nice!).

Thanks!
--Brad

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4c82321c-c4a1-4738-9bdb-277b07ebbefb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment