login_url Default return value for get_login_url(). Defaults to None in which case get_login_url()
pop(key, default=__not_given) Example: fav_color = request.session.pop('fav_color', 'blue')
get_expire_at_browser_close() Returns either True or False, depending on whether the user’s session
test_cookie_worked() Returns either True or False, depending on whether the user’s browser accepted
django.views.decorators.cache.cache_page() A more granular way to use the caching framework is by caching the output of individual
get_all_permissions(obj=None) Returns a set of permission strings that the user has, both through group and user permissions
cache_key_prefix New in Django 1.9. A
resolver_match An instance of
create_test_db(verbosity=1, autoclobber=False, serialize=True, keepdb=False) Creates a new test database and runs migrate
password_change(request, template_name='registration/password_change_form.html', post_change_redirect=None, password_change_form=PasswordChangeForm, current_app=None
Page 13 of 35