#30654: Optimize session cache backend KEY_PREFIX settings to support dynamic
configuration.
----------------------------------+--------------------------------------
Reporter: hfq-mengyangyang | Owner: nobody
Type: New feature | Status: closed
Component: contrib.sessions | Version: master
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by felixxm):
* status: new => closed
* resolution: => invalid
* version: 2.2 => master
* type: Cleanup/optimization => New feature
Comment:
Thanks for this proposition, however `SessionStore` is
[https://docs.djangoproject.com/en/2.2/topics/http/sessions/#extending-
database-backed-session-engines extendable] so you can easily change
`cache_key_prefix`, e.g.
{{{
class CustomSessionStore(SessionStore):
cache_key_prefix = 'my_custom_prefix'
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30654#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.fa7af45e05a7cebe5a9e51b09ebb2c67%40djangoproject.com.