#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.

-- 
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/0107019200c1de3c-bdf2de43-a9c4-4ffb-a866-fa4fc2e0e981-000000%40eu-central-1.amazonses.com.

Reply via email to