set_expiry(value) Sets the expiration time for the session. You can pass a number of different values:
cache_key_prefix New in Django 1.9. A
get_all_permissions(obj=None) Returns a set of permission strings that the user has, both through group and user permissions
Page.has_other_pages() [source] Returns True if there’s a next or previous
create_superuser(*username_field*, password, **other_fields) The prototype of create_superuser() should accept
get_test_func() You can also override the get_test_func() method to have the mixin use a differently named function
password_reset_done(request, template_name='registration/password_reset_done.html', current_app=None, extra_context=None) The
get_language_info() [source] The get_language_info() function provides detailed
i18n_patterns(*urls, prefix_default_language=True) [source] This function can be used in
get(key, default=None) Example: fav_color = request.session.get('fav_color', 'red')
Page 8 of 35