get(key, default=None) Example: fav_color = request.session.get('fav_color', 'red')
validate_password(password, user=None, password_validators=None) [source] Validates a password
non_atomic_requests(using=None) [source] This decorator will negate the effect of
This document will get you up and running with Django. Install Python Being a Python Web framework, Django
get_test_func() You can also override the get_test_func() method to have the mixin use a differently named function
SimpleTestCase.client_class If you want to use a different Client class (for example, a subclass with customized
class AuthenticationForm A form for logging a user in. Takes request as its first
django.views.decorators.cache.cache_page() A more granular way to use the caching framework is by caching the output of individual
get_object_or_404(klass, *args, **kwargs) [source] Calls
class PermissionRequiredMixin New in Django 1.9. This
Page 13 of 35