#35770: Improve recommendation for ignoring memcached-incompatible cache key warnings -------------------------------------+------------------------------------- Reporter: Markus Amalthea | Owner: (none) Magnuson | Type: | Status: new Cleanup/optimization | Component: Core (Cache system) | Version: dev Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Comment (by Markus Amalthea Magnuson):
I did exactly that, adding the code to `__init_.py` inside of a `management` folder (with no additional files) in an app that is in `INSTALLED_APPS`. Tried two different apps, but the code just would not run. Not sure about the internals of detecting it in such a module specifically, but seems like there are better way to put code that needs to always run. -- Ticket URL: <https://code.djangoproject.com/ticket/35770#comment:2> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/01070192017651e0-222a5abc-18b1-40ed-a661-e8b8ba6168f2-000000%40eu-central-1.amazonses.com.