Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AbstractBaseSession
: Use model fields for subclassed cases
In situations where these fields are overridden in custom models, for instance extending 'session_key`'s `max_length`. Follow a similar style to `AuthBaseUser`. See also: - https://docs.djangoproject.com/en/5.0/topics/http/sessions/#extending-database-backed-session-engines - https://github.com/django/django/blob/5.0.6/django/contrib/sessions/base_session.py - https://github.com/typeddjango/django-stubs/blob/5.0.0/django-stubs/contrib/sessions/base_session.pyi#L13-L21
- Loading branch information