#35770: Improve recommendation for ignoring memcached-incompatible cache key
warnings
-------------------------------------+-------------------------------------
Reporter: Markus Amalthea | Type:
Magnuson | Cleanup/optimization
Status: new | Component:
| Documentation
Version: dev | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
This section of the docs is a bit confusing to me:
https://docs.djangoproject.com/en/5.1/topics/cache/#cache-key-warnings
Why is the recommendation to add the code to a management module (and it's
also not entirely clear what that means, especially for less experienced
Python developers)? Wouldn't it be better to add it to the ready() method
in one of your app configs?
I could not reliably get the first method to work, but the second one
does, and is kind of what the ready() method is for?
I'd be happy to provide updated docs if this sounds like a reasonable
change.
--
Ticket URL: <
https://code.djangoproject.com/ticket/35770>
Django <
https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.