SimpleTestCase.assertJSONNotEqual(raw, expected_data, msg=None) [source] Asserts that the
A common task for web applications is to search some data in the database with user input. In a simple case, this could be filtering a list of objects by a category. A more
render_to_string(template_name, context=None, request=None, using=None) [source] r
get_login_url() Returns the URL that users who don’t pass the test will be redirected to. Returns login_url if
class django.utils.deprecation.MiddlewareMixin Django provides django.utils.deprecation.MiddlewareMixin to ease
login(**credentials) [source] If your site uses Django’s authentication
Client.cookies A Python
This document provides an overview of techniques and tools that can help get your Django code running more efficiently - faster, and using fewer system resources.
SimpleTestCase.assertXMLNotEqual(xml1, xml2, msg=None) [source] Asserts that the strings
cache_control(**kwargs) [source] This decorator patches the response’s Cache-Control
Page 14 of 35