I have also found a hack in admin/templates/auth/user/add_user.html The django developers have inserted the following line into this template, so that no matter which button is clicked, the same action will be executed.
<input type="hidden" name="_continue" value="1" /> I override this template and my problem is solved On Jun 14, 1:59 pm, stanleyxu2005 <[email protected]> wrote: > Hi All, > > I have some problems with the integrated user profile module. > > When a user profile is going to be created, there are three buttons > below: "Save and add another", "Save and continue" and "Save". > > But no matter which button I click, it will always enter the user > profile page. (I am not sure, if this is a bug of django module.) > > What I want to do is just hide the other two buttons: "Save and add > another" and "Save and continue". > > Is it possible to hide these two buttons? > > BTW: Is it possible to hide the "is_staff" field in user profile page, > but leave this option with the same value as "is_superuser"? > > Best regards -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

