#15217: Cache setting deprecation warning is too aggressive --------------------------+------------------------------------------------- Reporter: adamv | Owner: nobody Status: new | Milestone: Component: Cache system | Version: SVN Keywords: | Triage Stage: Unreviewed Has patch: 0 | --------------------------+------------------------------------------------- http://code.djangoproject.com/browser/django/trunk/django/core/cache/__init__.py#L77
I have Django project with no CACHES or CACHE_FOO settings in my settings.py. So I'm relying entirely on whatever is in the global_settings.py for these values (and CACHES={} here.) The line 77 above says that if CACHES is not true, print a deprecation warning. Thus, since I'm not setting anything up here, and CACHES is false in global_settings.py, I see this deprecation warning any time I run my app- specific unit tests. The "default settings" should cause no pending deprecation error to be printed when the project itself isn't setting up any cache settings. -- Ticket URL: <http://code.djangoproject.com/ticket/15217> Django <http://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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.