auth.views.redirect_to_login()

redirect_to_login(next, login_url=None, redirect_field_name='next') Redirects to the login page, and then back to another URL

2016-10-09 18:34:32
auth.models.AbstractBaseUser.set_password()

set_password(raw_password) Sets the user’s password to the given raw string, taking care of the password hashing. Doesn’t save

2016-10-09 18:34:17
test.TransactionTestCase.assertNumQueries()

TransactionTestCase.assertNumQueries(num, func, *args, **kwargs) [source] Asserts that when

2016-10-09 18:40:09
auth.mixins.PermissionRequiredMixin.get_permission_required()

get_permission_required() Returns an iterable of permission names used by the mixin. Defaults to the permission_required

2016-10-09 18:34:14
test.SimpleTestCase.client

SimpleTestCase.client Every test case in a django.test.*TestCase instance has access to an instance of a Django

2016-10-09 18:40:07
db.transaction.rollback()

rollback(using=None) [source] These functions take a using argument which should

2016-10-09 18:36:27
http.Http404

class django.http.Http404 When you return an error such as

2016-10-09 18:38:39
test.Client.head()

head(path, data=None, follow=False, secure=False, **extra) [source] Makes a HEAD request

2016-10-09 18:39:56
Models and databases

A model is the single, definitive source of data about your data. It contains the essential fields and behaviors of the data you’re storing. Generally, each model maps to a

2016-10-09 18:39:10
Testing in Django

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

2016-10-09 18:40:10