开发者

django permission issue

开发者 https://www.devze.com 2023-01-05 22:24 出处:网络
Hi Everyone I m dealing with some serious issue in django-admin.I have created models with app_label in c开发者_开发问答lass Meta

Hi Everyone I m dealing with some serious issue in django-admin.I have created models with app_label in c开发者_开发问答lass Meta

But when i tried to create a group for alloting specific permissions I cant find them in my selection list.But if i remove app_label from my model I can see the model in my permission list.But I cant go without app_label, so i need to fix this asap.When i run a select query on db table 'django_content_type' i can see my app_label but they dont have any entry in auth_permission table.

Is this a bug in django or i m doing wrong


Missed used the meaning of app label

0

精彩评论

暂无评论...
验证码 换一张
取 消