0

我遵循了 celery 文档。昨天我能够在我的 Django 管理员中更新 Djcelery 模型。但是今天我无法更新这些模型。我昨天安装了Django工具栏它对功能有什么影响吗

下面是在 settings.py 中包含 DDT 的 Django 管理屏幕截图

带有 Django 调试工具栏的 Django 管理员快照

下面是 Django admin 的屏幕截图,没有包含在 setting.py 中的 DDT

没有 Django 调试工具栏的 Django admin snapShot

已安装的应用程序

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',)

4

0 回答 0