get_connection(backend=None, fail_silently=False, *args, **kwargs) [source] By default, a
class TransactionTestCase [source] TransactionTestCase inherits from
get_by_natural_key(username) Retrieves a user instance using the contents of the field nominated by USERNAME_FIELD
Once you’ve created your data models, Django automatically gives you a database-abstraction API that lets you create, retrieve, update and delete objects
skipUnlessDBFeature(*feature_name_strings) [source] Skip the decorated test or TestCase
register(*tags)(function) You can pass as many tags to register as you want in order to label your check. Tagging
REQUIRED_FIELDS A list of the field names that will be prompted for when creating a user via the createsuperuser
Overview Django’s formatting system is capable of displaying dates, times and numbers in templates using the format specified for the current
SimpleTestCase.assertHTMLNotEqual(html1, html2, msg=None) [source] Asserts that the strings
See Built-in class-based views API.
Page 28 of 35