Conditional View Processing

HTTP clients can send a number of headers to tell the server about copies of a resource that they have already seen. This is commonly used when retrieving a Web page (using

2016-10-09 18:34:35
test.SimpleTestCase.assertRaisesMessage()

SimpleTestCase.assertRaisesMessage(expected_exception, expected_message, callable, *args, **kwargs) [source] SimpleTestCase

2016-10-09 18:40:06
Examples of model relationship API usage

Many-to-many relationships Many-to-one relationships One-to-one relationships

2016-10-09 18:36:32
db.transaction.savepoint_commit()

savepoint_commit(sid, using=None) [source] Releases savepoint sid. The changes

2016-10-09 18:36:28
auth.password_validation.password_changed()

password_changed(password, user=None, password_validators=None) [source] Informs all validators

2016-10-09 18:34:27
utils.log.AdminEmailHandler.send_mail()

send_mail(subject, message, *args, **kwargs) [source] Sends emails to admin users. To customize

2016-10-09 18:40:32
test.override_settings()

override_settings() [source] In case you want to override a setting for a test method, Django

2016-10-09 18:39:58
sessions.backends.cached_db.SessionStore.cache_key_prefix

cache_key_prefix New in Django 1.9. A

2016-10-09 18:39:31
test.Response.resolver_match

resolver_match An instance of

2016-10-09 18:40:00
db.connection.creation.create_test_db()

create_test_db(verbosity=1, autoclobber=False, serialize=True, keepdb=False) Creates a new test database and runs migrate

2016-10-09 18:35:08