To define a one-to-one relationship, use
is_password_usable(encoded_password) [source] Checks if the given string is a hashed password
TransactionTestCase.fixtures A test case for a database-backed website isn’t much use if there isn’t any data in the database
class backends.base.SessionBase This is the base class for all session objects. It has the following standard dictionary methods:
login(request, user, backend=None) [source] To log a user in, from a view, use login()
force_login(user, backend=None) [source] New
__getitem__(key) Example: fav_color = request.session['fav_color']
class LoginRequiredMixin New in Django 1.9. If
condition(etag_func=None, last_modified_func=None) [source]
set_unusable_password() Marks the user as having no password set. This isn’t the same as having a blank string for a password
Page 17 of 35