circuit
circuit social network code-documentation
Public Member Functions | Static Public Attributes | List of all members
users.views.UserUpdateView Class Reference

Inherits UpdateView.

Public Member Functions

def dispatch (self, request, args, kwargs)
 
def get_success_url (self)
 

Static Public Attributes

 model = User
 
list fields
 
string template_name = 'users/user_edit.html'
 

Detailed Description

Update a user's profile data.

Member Function Documentation

def users.views.UserUpdateView.dispatch (   self,
  request,
  args,
  kwargs 
)
Check if the authenticated user is allowed to edit this profile.

@param request:
@param args: additional arguments, passed directly to parent
@param kwargs: additional arguments, passed directly to parent
@return parent's handler if allowed. Raises Http404 if not allowed.
def users.views.UserUpdateView.get_success_url (   self)

Member Data Documentation

list users.views.UserUpdateView.fields
static
Initial value:
1 = [
2  'username',
3  'name',
4  'description',
5  'email',
6  ]
users.views.UserUpdateView.model = User
static
string users.views.UserUpdateView.template_name = 'users/user_edit.html'
static

The documentation for this class was generated from the following file: