session_key Primary key. The field itself may contain up to 40 characters. The current implementation generates a 32-character
class CommonPasswordValidator(password_list_path=DEFAULT_PASSWORD_LIST_PATH) [source] Validates
Caution This is an advanced topic. A working knowledge of Django’s class-based
password_reset_confirm(request, uidb64=None, token=None, template_name='registration/password_reset_confirm.html', token_generator=default_token_generator, set_passw
set_unusable_password() Marks the user as having no password set. This isn’t the same as having a blank string for a password
force_login(user, backend=None) [source] New
create_model_instance(data) New in Django 1.9. Returns
redirect_to_login(next, login_url=None, redirect_field_name='next') Redirects to the login page, and then back to another URL
Automated testing is an extremely useful bug-killing tool for the modern Web developer. You can use a collection of tests – a test suite – to solve, or avoid
modify_settings() [source] Likewise, Django provides the modify_settings() decorator:
Page 21 of 35