test.runner.DiscoverRunner.suite_result()
  • References/Python/Django/Guides

DiscoverRunner.suite_result(suite, result, **kwargs) Computes and returns a return code based on a test suite, and the result

2025-01-10 15:47:30
test.runner.DiscoverRunner.run_suite()
  • References/Python/Django/Guides

DiscoverRunner.run_suite(suite, **kwargs) Runs the test suite. Returns the result produced by

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

redirect_field_name Default return value for get_redirect_field_name(). Defaults to "next".

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

class Page(object_list, number, paginator) [source] A page acts like a sequence of Page

2025-01-10 15:47:30
Class-based views
  • References/Python/Django/Guides

A view is a callable which takes a request and returns a response. This can be more than just a function, and Django provides an example of some classes which can be used as

2025-01-10 15:47:30
sessions.backends.base.SessionBase.set_test_cookie()
  • References/Python/Django/Guides

set_test_cookie() Sets a test cookie to determine whether the user’s browser supports cookies. Due to the way cookies work,

2025-01-10 15:47:30
db.models.Model.
  • References/Python/Django/Guides

Model._base_manager

2025-01-10 15:47:30
auth.mixins.AccessMixin.get_redirect_field_name()
  • References/Python/Django/Guides

get_redirect_field_name() Returns the name of the query parameter that will contain the URL the user should be redirected to

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

SimpleTestCase.assertFieldOutput(fieldclass, valid, invalid, field_args=None, field_kwargs=None, empty_value='') [source]

2025-01-10 15:47:30
Writing and running tests
  • References/Python/Django/Guides

See also The testing tutorial, the testing tools

2025-01-10 15:47:30