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

DiscoverRunner.teardown_test_environment(**kwargs) Restores the pre-test environment.

2025-01-10 15:47:30
utils.log.RequireDebugTrue
  • References/Python/Django/Guides

class RequireDebugTrue [source] This filter is similar to RequireDebugFalse

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

delete_test_cookie() Deletes the test cookie. Use this to clean up after yourself.

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

login(request, template_name=`registration/login.html`, redirect_field_name='next', authentication_form=AuthenticationForm, current_app=None, extra_context=None, red

2025-01-10 15:47:30
views.decorators.http.etag()
  • References/Python/Django/Guides

etag(etag_func) [source]

2025-01-10 15:47:30
sessions.base_session.BaseSessionManager.save()
  • References/Python/Django/Guides

save(session_key, session_dict, expire_date) Saves session data for a provided session key, or deletes the session in case the

2025-01-10 15:47:30
views.i18n.JavaScriptCatalog
  • References/Python/Django/Guides

class JavaScriptCatalog [source] A view that produces a JavaScript code library with functions

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

class TestCase [source] This is the most common class to use for writing tests in Django

2025-01-10 15:47:30
Internationalization and localization
  • References/Python/Django/Guides

Overview The goal of internationalization and localization is to allow a single Web application to offer its content in languages and formats

2025-01-10 15:47:30
db.transaction.clean_savepoints()
  • References/Python/Django/Guides

clean_savepoints(using=None) [source] Resets the counter used to generate unique savepoint

2025-01-10 15:47:30