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

Inherits CreateView.

Public Member Functions

def dispatch (self, request, args, kwargs)
 
def form_valid (self, form)
 

Static Public Attributes

string template_name = 'users/user_create.html'
 
 model = User
 
list fields
 
tuple success_url = reverse_lazy('users:login')
 

Detailed Description

The django view responsible for signing a user up

Member Function Documentation

def users.views.UserCreateView.dispatch (   self,
  request,
  args,
  kwargs 
)
def users.views.UserCreateView.form_valid (   self,
  form 
)
Creates the user if all data is valid.

Member Data Documentation

list users.views.UserCreateView.fields
static
Initial value:
1 = [
2  'email',
3  'username',
4  'password',
5  ]
users.views.UserCreateView.model = User
static
tuple users.views.UserCreateView.success_url = reverse_lazy('users:login')
static
string users.views.UserCreateView.template_name = 'users/user_create.html'
static

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