SimpleTestCase.assertContains(response, text, count=None, status_code=200, msg_prefix='', html=False) [source]
authenticate(**credentials) [source] Use authenticate() to verify a set of credentials
test_func() You have to override the test_func() method of the class to provide the test that is performed. Furthermore
class UserCreationForm A
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.cached_db.SessionStore Implements cached database-backed session store.
create_model_instance(data) New in Django 1.9. Returns
logout() [source] If your site uses Django’s authentication system
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
modify_settings() [source] Likewise, Django provides the modify_settings() decorator:
Page 21 of 35