I think you are right that a ModelAdmin definition must exist for it. But I have been digging for it and can't seem to find it.
I am seeking to place a button on that page that will allow the user to update the permissions the user can have. I have a function written in my model that creates permissions based on something on another server. The staff that are giving the users their permissions need a way to update the permissions manually. Any suggestions? I have easily made it to where the permissions update when a new user is created. But I need a button for manual updates. Thanks, Brandon On Aug 11, 11:13 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Tue, Aug 11, 2009 at 11:57 PM, Russell Keith-Magee < > > > > freakboy3...@gmail.com> wrote: > > > On Wed, Aug 12, 2009 at 10:24 AM, Karen Tracey<kmtra...@gmail.com> wrote: > > > On Tue, Aug 11, 2009 at 4:14 PM, bfrederi <brfrederi...@gmail.com> > > wrote: > > > >> I was browsing contrib/admin templates for the "Change User" template > > >> that allows you to change the user's permissions and such. I can't > > >> seem to find it though. Can anyone point me in the right direction? > > > > Admin doesn't have special templates for certain models, so far as I > > know. > > > Incorrect. See contrib/admin/templates/admin/auth/user. The general > > capability to override templates on a per-model basis is generic. User > > is the only model that exploits this capability by default. > > Yeah, I did find those and then failed to revise the sentence. I don't see > a template there for editing a user, though, just adding, changing password, > and confirming delete. So I think the template for "Change User" is not > customized in any special way for User, it's the standard admin change > template. So how to get a similar effect (which is what I was guessing the > real underlying question was) for a different model would be found by > looking at the UserAdmin ModelAdmin definitions. > > Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---