Insert the user in the template context
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -365,7 +365,8 @@ class UserOptionsEditView(SingleObjectEditView):
|
||||
return {
|
||||
'title': _(
|
||||
'Edit options for user: %s'
|
||||
) % self.get_user()
|
||||
) % self.get_user(),
|
||||
'object': self.get_user()
|
||||
}
|
||||
|
||||
def get_object(self, queryset=None):
|
||||
|
||||
Reference in New Issue
Block a user