<bdo id='3mr2O'></bdo><ul id='3mr2O'></ul>

<tfoot id='3mr2O'></tfoot>

<small id='3mr2O'></small><noframes id='3mr2O'>

        <i id='3mr2O'><tr id='3mr2O'><dt id='3mr2O'><q id='3mr2O'><span id='3mr2O'><b id='3mr2O'><form id='3mr2O'><ins id='3mr2O'></ins><ul id='3mr2O'></ul><sub id='3mr2O'></sub></form><legend id='3mr2O'></legend><bdo id='3mr2O'><pre id='3mr2O'><center id='3mr2O'></center></pre></bdo></b><th id='3mr2O'></th></span></q></dt></tr></i><div id='3mr2O'><tfoot id='3mr2O'></tfoot><dl id='3mr2O'><fieldset id='3mr2O'></fieldset></dl></div>
      1. <legend id='3mr2O'><style id='3mr2O'><dir id='3mr2O'><q id='3mr2O'></q></dir></style></legend>
      2. 姜戈.您无权编辑任何内容

        Django. You don#39;t have permission to edit anything(姜戈.您无权编辑任何内容)

          <i id='L5sny'><tr id='L5sny'><dt id='L5sny'><q id='L5sny'><span id='L5sny'><b id='L5sny'><form id='L5sny'><ins id='L5sny'></ins><ul id='L5sny'></ul><sub id='L5sny'></sub></form><legend id='L5sny'></legend><bdo id='L5sny'><pre id='L5sny'><center id='L5sny'></center></pre></bdo></b><th id='L5sny'></th></span></q></dt></tr></i><div id='L5sny'><tfoot id='L5sny'></tfoot><dl id='L5sny'><fieldset id='L5sny'></fieldset></dl></div>
            • <bdo id='L5sny'></bdo><ul id='L5sny'></ul>
                <tfoot id='L5sny'></tfoot>
                1. <small id='L5sny'></small><noframes id='L5sny'>

                    <tbody id='L5sny'></tbody>

                  <legend id='L5sny'><style id='L5sny'><dir id='L5sny'><q id='L5sny'></q></dir></style></legend>

                  本文介绍了姜戈.您无权编辑任何内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我不久前创建了一个小应用程序.我创建了 admin.py 并使用 admin.site.register(MenuEntry) 将类添加到管理控制台.它很好地显示了该类的项目.然后我开始开发另一个应用程序并像以前一样创建所有内容.但现在它说:您无权编辑任何内容.我比较了来自该应用程序的文件和来自此应用程序的文件,它们看起来非常相似,所以我找不到区别,我不知道现在该怎么做才能让它工作.

                  I created a little app a while ago. I created admin.py and used admin.site.register(MenuEntry) to add the class to admin console. It showed the items of that class just fine. Then I began working on another app and created everything as before. But now it says: You don't have permission to edit anything. I compared files from that and from this apps and they look quite similar, so I just can't find the difference and I can't realize what to do now to make it work.

                  推荐答案

                  我又检查了一次文件,发现了不同之处.我忘记在项目的 urls.py 中添加 admin.autodiscover() 了.谢谢.

                  I checked files one more time and found the difference. I forgot to add admin.autodiscover() in urls.py of the project. Thanks.

                  这篇关于姜戈.您无权编辑任何内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  What happens when you compare 2 pandas Series(当你比较 2 个 pandas 系列时会发生什么)
                  Quickly find differences between two large text files(快速查找两个大文本文件之间的差异)
                  Python - Compare 2 files and output differences(Python - 比较 2 个文件和输出差异)
                  Why do comparisions between very large float values fail in python?(为什么在 python 中非常大的浮点值之间的比较会失败?)
                  Dictionary merge by updating but not overwriting if value exists(字典通过更新合并,但如果值存在则不覆盖)
                  Find entries of one text file in another file in python(在python中的另一个文件中查找一个文本文件的条目)
                  • <bdo id='o2Cw4'></bdo><ul id='o2Cw4'></ul>

                    <legend id='o2Cw4'><style id='o2Cw4'><dir id='o2Cw4'><q id='o2Cw4'></q></dir></style></legend>
                  • <tfoot id='o2Cw4'></tfoot>

                          <tbody id='o2Cw4'></tbody>
                      1. <i id='o2Cw4'><tr id='o2Cw4'><dt id='o2Cw4'><q id='o2Cw4'><span id='o2Cw4'><b id='o2Cw4'><form id='o2Cw4'><ins id='o2Cw4'></ins><ul id='o2Cw4'></ul><sub id='o2Cw4'></sub></form><legend id='o2Cw4'></legend><bdo id='o2Cw4'><pre id='o2Cw4'><center id='o2Cw4'></center></pre></bdo></b><th id='o2Cw4'></th></span></q></dt></tr></i><div id='o2Cw4'><tfoot id='o2Cw4'></tfoot><dl id='o2Cw4'><fieldset id='o2Cw4'></fieldset></dl></div>
                          • <small id='o2Cw4'></small><noframes id='o2Cw4'>