gettingstarted.viewsΒΆ

Base views

Account Authentication

Functions

auth_view(request) authenicate the user session
current_user(request) debug data for user
invalid_login(request) send to login failure page
loggedin(request) send to login success page
login(request) send to login page
logout(request) send to logout success page
register_success(request) send to registration success page
register_user(request) add user to django database
render(request, *args, **kwargs) Returns a HttpResponse whose content is filled with the result of calling django.template.loader.render_to_string() with the passed arguments.
render_to_response(*args, **kwargs) Returns a HttpResponse whose content is filled with the result of calling django.template.loader.render_to_string() with the passed arguments.

Classes

HttpResponse([content]) An HTTP response class with a string as content.
HttpResponseRedirect(redirect_to, *args, ...)
RequestContext(request[, dict_, processors, ...]) This subclass of template.Context automatically populates itself using the processors defined in TEMPLATE_CONTEXT_PROCESSORS.
UserCreationForm([data, files, auto_id, ...]) A form that creates a user, with no privileges, from the given username and password.