Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/24.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Django芹菜和Django调试工具栏限制_Django_Python 2.7_Django Models_Celery_Djcelery - Fatal编程技术网

Django芹菜和Django调试工具栏限制

Django芹菜和Django调试工具栏限制,django,python-2.7,django-models,celery,djcelery,Django,Python 2.7,Django Models,Celery,Djcelery,我遵循了芹菜文档。昨天我在Django管理员中更新了Django芹菜模型。但今天我无法更新这些模型。我昨天安装了Django工具栏,它对功能有影响吗 下面是Django admin屏幕截图,其中DDT包含在settings.py中 下面是setting.py中未包含DDT的Django admin的屏幕截图 已安装的应用程序 已安装的应用程序= # django stuff 'django.contrib.admin', 'django.contrib.auth', 'django.contri

我遵循了芹菜文档。昨天我在Django管理员中更新了Django芹菜模型。但今天我无法更新这些模型。我昨天安装了Django工具栏,它对功能有影响吗

下面是Django admin屏幕截图,其中DDT包含在settings.py中

下面是setting.py中未包含DDT的Django admin的屏幕截图

已安装的应用程序

已安装的应用程序=

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

我已经附加了这个已安装的应用程序+='debug\u toolbar',

当您尝试进行更新时,会出现什么错误消息?更新选项未出现或已禁用,我已从已安装的应用程序中注释掉django toolbar依赖项。现在我可以在django Admin中更新模型请参考图片检查您安装的应用程序的外观。可能你错过了,在其中一行。我使用了这个安装的应用程序+='debug\u toolbar',这是一个问题吗?为了让它正常工作,注释了相同的内容