[Python-modules-commits] [celery-haystack] 08/10: Add the recommended minimum MIDDLEWARE_CLASSES.

Michael Fladischer fladi at moszumanska.debian.org
Sat Jan 2 13:02:07 UTC 2016


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository celery-haystack.

commit 410c322761b0ea12391a56d587cd5cf634ade205
Author: Michael Fladischer <fladi at debian.org>
Date:   Fri Dec 25 15:02:58 2015 +0100

    Add the recommended minimum MIDDLEWARE_CLASSES.
    
     This silences warnings while running the tests.
    Forwarded: no
    Last-Update: 2015-08-11
---
 celery_haystack/test_settings.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/celery_haystack/test_settings.py b/celery_haystack/test_settings.py
index def8536..b14c0d7 100644
--- a/celery_haystack/test_settings.py
+++ b/celery_haystack/test_settings.py
@@ -26,6 +26,10 @@ DATABASES = {
 
 SECRET_KEY = 'really-not-secret'
 
+MIDDLEWARE_CLASSES = (
+    'django.middleware.common.CommonMiddleware',
+)
+
 BROKER_TRANSPORT = "memory"
 CELERY_ALWAYS_EAGER = True
 CELERY_IGNORE_RESULT = True

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/celery-haystack.git



More information about the Python-modules-commits mailing list