sessions.base_session.AbstractBaseSession.get_decoded()
  • References/Python/Django/Guides

get_decoded() Returns decoded session data. Decoding is performed by the session store class

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

vary_on_cookie(func) [source]

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

savepoint(using=None) [source] Creates a new savepoint. This marks a point in the transaction

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

login_required(redirect_field_name='next', login_url=None) [source] As a shortcut, you can

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

context The template Context instance that was used to render the template that produced the response content.

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

__setitem__(key, value) Example: request.session['fav_color'] = 'blue'

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

This topic guide describes Django’s support for interacting with multiple databases. Most of the rest of Django’s documentation assumes you are interacting with a single database

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

Page.object_list The list of objects on this page.

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

pop(key, default=__not_given) Example: fav_color = request.session.pop('fav_color', 'blue')

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

validate_password(password, user=None, password_validators=None) [source] Validates a password

2025-01-10 15:47:30