Managing files
  • References/Python/Django/Guides

This document describes Django’s file access APIs for files such as those uploaded by a user. The lower level APIs are general enough that you could use them for other purposes

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

update_session_auth_hash(request, user) [source] This function takes the current request

2025-01-10 15:47:30
dispatch.Signal.send()
  • References/Python/Django/Guides

Signal.send(sender, **kwargs) [source]

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

skipIfDBFeature(*feature_name_strings) [source] Skip the decorated test or TestCase

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

user_passes_test(test_func, login_url=None, redirect_field_name='next') [source] As a shortcut

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
conf.settings.configure()
  • References/Python/Django/Guides

django.conf.settings.configure(default_settings, **settings) Example:

2025-01-10 15:47:30
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
sessions.base_session.BaseSessionManager
  • References/Python/Django/Guides

class base_session.BaseSessionManager New in Django 1.9.

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

DiscoverRunner.test_runner This is the class of the low-level test runner which is used to execute the individual tests and

2025-01-10 15:47:30