Python中文
首页
教程
问答
标签
搜索
登录
注册
设置工具栏时出现问题:工具栏未显示
回答此问题可获得
20
贡献值,回答如果被采纳可获得
50
分。
<p>我正在尝试在我的生产站点中设置django工具栏,以便某些ip可以使用它。我遵循了<a href="http://django-debug-toolbar.readthedocs.org/en/1.0/installation.html" rel="nofollow">official documentation</a>(安装和快速设置),但是我看不到工具栏。你知道吗</p> <p>应用程序已安装:</p> <pre><code>$ yolk -l | grep toolbar django-debug-toolbar - 0.11.0 - active </code></pre> <p>我已添加所需的设置:</p> <pre><code>INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.sitemaps', 'modeltranslation', 'djangocms_text_ckeditor', 'cms', 'mptt', 'menus', 'south', 'sekizai', 'debug_toolbar', # more stuff... ) INTERNAL_IPS = ('---.---.---.---',) # my current ip, taken from the server logs so I'm sure it's correct STATIC_URL = '/static/' DEBUG = True </code></pre> <p>没有错误消息。我也跑了,以防万一。没有成功。你知道吗</p> <p>有什么建议吗?谢谢:-)</p> <p>编辑:似乎安装的应用程序的顺序很重要。移动“调试工具栏”django.contrib公司在“modeltranslation”和其他人解决问题之前。你知道吗</p>
0 条评论
分类:
Python问答
请先
登录
后评论
默认排序
时间排序
1 个回答
匿名
1天前
擅长:python、mysql、java
<p>我找到原因了。在已安装的应用程序中,“调试工具栏”必须尽快出现。我以前也放过一些其他的应用程序('modeltransation','cms'等等)。把它放在django.contrib公司在其他工作正常之前。你知道吗</p>
请先
登录
后评论
针对此问题:
更多的回答
关注
89
关注
收藏
1
收藏,
216
浏览
网友 提问于 2天前
相关Python问题
Python中是否有类似Clojure的线程宏?
8 回答
Python中是否有类似JPanel的组件?
8 回答
Python中是否有类似MATLAB的vpasolve的等价解算器
9 回答
python中是否有类似NLTK的东西不需要安装?
7 回答
python中是否有类似osgi在java中试图解决的需求?
5 回答
python中是否有类似PAM的模块?
8 回答
Python中是否有类似Perl的Data::Dumper的工具用来检查数据结构?
5 回答
python中是否有类似robocy的函数,带有重试选项?
5 回答
Python中是否有类似Rstudio的帮助部分?
9 回答
python中是否有类似ruby的索引方法?
2 回答
python中是否有类似于“perlpe”选项的内容?
10 回答
Python中是否有类似于C++ STL映射的结构?
2 回答
python中是否有类似于C中预处理器行为的工具?
5 回答
Python中是否有类似于Harmony的let关键字的内容?
5 回答
python中是否有类似于matlab中fzero的函数?
4 回答
python中是否有类似于MATLAB中peaks(N)的函数/实现?
4 回答
Python中是否有类似于Matlab的deconvblind的函数?
3 回答
Python中是否有类似于Perl中“想要”的东西
6 回答
Python中是否有类似于Perl正则表达式中的"local"变量?
6 回答
python中是否有类似于php的$$变量的语法
1 回答