`
mr.zxing
  • 浏览: 70320 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

You don't have permission to edit anything

阅读更多

 启用'django.contrib.admin'后login到admin显示"You don't have permission to edit anything", 查了下文档http://docs.djangoproject.com/en/dev/ref/contrib/admin/#hooking-adminsite-instances-into-your-urlconf,发现admin.autodiscover()这行注释没去掉,再试就可以编辑了。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics