sessions.backends.base.SessionBase.cycle_key()
  • References/Python/Django/Guides

cycle_key() Creates a new session key while retaining the current session data.

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

patch(path, data='', content_type='application/octet-stream', follow=False, secure=False, **extra) [source]

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

keys()

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

check_password(raw_password) Returns True if the given raw string is the correct password for the user. (This takes

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

__contains__(key) Example: 'fav_color' in request.session

2025-01-10 15:47:30
Testing in Django
  • References/Python/Django/Guides

Automated testing is an extremely useful bug-killing tool for the modern Web developer. You can use a collection of tests – a test suite – to solve, or avoid

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

require_GET() Decorator to require that a view only accepts the GET method.

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

Page.number The 1-based page number for this page.

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

put(path, data='', content_type='application/octet-stream', follow=False, secure=False, **extra) [source]

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

rollback(using=None) [source] These functions take a using argument which should

2025-01-10 15:47:30