mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Fixed #33842 -- Used :source: role for links to repo files on GitHub.
This commit is contained in:
parent
f3a06b06b5
commit
c6290bae9d
17 changed files with 28 additions and 27 deletions
|
@ -526,7 +526,7 @@ calls ``save()`` and loops until an unused ``session_key`` is generated.
|
|||
|
||||
If you're using the ``django.contrib.sessions.backends.db`` backend, each
|
||||
session is a normal Django model. The ``Session`` model is defined in
|
||||
``django/contrib/sessions/models.py``. Because it's a normal model, you can
|
||||
:source:`django/contrib/sessions/models.py`. Because it's a normal model, you can
|
||||
access sessions using the normal Django database API::
|
||||
|
||||
>>> from django.contrib.sessions.models import Session
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue