'Specifying a namespace in include() without providing an app_name '

url(r'^rbac/', include(('rbac.urls',namespace='rbac')),

修改为

url(r'^rbac/', include(('rbac.urls','rbac'),namespace='rbac')),
posted @ 2021-07-04 00:37  成强  阅读(47)  评论(0编辑  收藏  举报