db.transaction.savepoint_commit()
  • References/Python/Django/Guides

savepoint_commit(sid, using=None) [source] Releases savepoint sid. The changes

2025-01-10 15:47:30
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
shortcuts.render_to_response()
  • References/Python/Django/Guides

render_to_response(template_name, context=None, content_type=None, status=None, using=None) [source] This

2025-01-10 15:47:30
template.backends.base.Template.render()
  • References/Python/Django/Guides

Template.render(context=None, request=None) Renders this template with a given context. If

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
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
core.mail.send_mail()
  • References/Python/Django/Guides

send_mail(subject, message, from_email, recipient_list, fail_silently=False, auth_user=None, auth_password=None, connection=None, html_message=None)

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

wsgi_request The WSGIRequest instance generated by the test handler that generated the response.

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
sessions.backends.base.SessionBase.get_expiry_date()
  • References/Python/Django/Guides

get_expiry_date() Returns the date this session will expire. For sessions with no custom expiration (or those set to expire

2025-01-10 15:47:30