Handling HTTP requests
  • References/Python/Django/Guides

Information on handling HTTP requests in Django: URL dispatcher Writing views

2025-01-10 15:47:30
Search
  • References/Python/Django/Guides

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

2025-01-10 15:47:30
test.SimpleTestCase.settings()
  • References/Python/Django/Guides

SimpleTestCase.settings() [source] For testing purposes it’s often useful to change a setting

2025-01-10 15:47:30
test.Client.login()
  • References/Python/Django/Guides

login(**credentials) [source] If your site uses Django’s authentication

2025-01-10 15:47:30
test.SimpleTestCase.assertJSONNotEqual()
  • References/Python/Django/Guides

SimpleTestCase.assertJSONNotEqual(raw, expected_data, msg=None) [source] Asserts that the

2025-01-10 15:47:30
test.RequestFactory
  • References/Python/Django/Guides

class RequestFactory [source] The RequestFactory shares the same API as the

2025-01-10 15:47:30
auth.mixins.LoginRequiredMixin
  • References/Python/Django/Guides

class LoginRequiredMixin New in Django 1.9. If

2025-01-10 15:47:30
test.SimpleTestCase.assertXMLNotEqual()
  • References/Python/Django/Guides

SimpleTestCase.assertXMLNotEqual(xml1, xml2, msg=None) [source] Asserts that the strings

2025-01-10 15:47:30
core.signing.Signer
  • References/Python/Django/Guides

class Signer(key=None, sep=':', salt=None) [source] Returns a signer which uses key

2025-01-10 15:47:30
Time zones
  • References/Python/Django/Guides

Overview When support for time zones is enabled, Django stores datetime information in UTC in the database, uses time-zone-aware datetime

2025-01-10 15:47:30