Django Celery和Django调试工具栏发生冲突

时间:2014-05-13 07:56:17

标签: django python-2.7 django-models celery djcelery

我已经关注了芹菜文档。昨天我能够在我的Django管理员中更新Djcelery模型。但今天我无法更新这些模型。我昨天安装了Django工具栏,它对功能有任何影响

以下是在settings.py

中包含滴滴涕的Django管理员屏幕截图

Django admin SnapShot with Django Debug Toolbar

以下是setup.py

中包含没有DDT的Django管理员的屏幕截图

Django admin snapShot Without Django Debug Toolbar

已安装的应用

INSTALLED_APPS =(

# django stuff
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',

# plugins
'precompressed', # https://github.com/jhmaddox/django-precompressed
'social.apps.django_app.default', # http://python-social-auth.readthedocs.org/en/latest/configuration/django.html
'rest_framework', # https://github.com/tomchristie/django-rest-framework
'djcelery', # https://github.com/celery/django-celery
'celery_admin', # https://github.com/mattcaldwell/django-celery-admin-ext
'taggit', # https://github.com/alex/django-taggit
'south', # http://south.readthedocs.org/en/latest/
'storages', # http://django-storages.readthedocs.org/en/latest/
'redactor', # https://github.com/douglasmiranda/django-wysiwyg-redactor
'haystack', # http://django-haystack.readthedocs.org/en/latest/toc.html
'boomers.apps.djangoratings', #https://github.com/dcramer/django-ratings
'crowdsourcing',

# apps
'apps',
'apps.billing.chase',
'apps.billing.paypal',
'apps.billing.amazon',
'apps.config',
'apps.users',
'apps.learn',
'apps.community',
'api.careerbuilder',
'apps.care',
'apps.go',
'apps.play',
'apps.plan',
'apps.uplus',
'apps.billing',
'apps.googleanalytics',
)

我添加了这个INSTALLED_APPS + =(' debug_toolbar',)

0 个答案:

没有答案