waliki icon indicating copy to clipboard operation
waliki copied to clipboard

permission codenamed 'view_page' clashes with a builtin permission

Open luzik opened this issue 6 years ago • 2 comments

After django upgrade 1.11 --> 2.1 and waliki to @master branch, while starting django I run into:

SystemCheckError: System check identified some issues:

ERRORS:
waliki.Page: (auth.E005) The permission codenamed 'view_page' clashes with a builtin permission for model 'waliki.Page'.

luzik avatar Sep 20 '18 08:09 luzik

This is related to: https://docs.djangoproject.com/en/2.1/releases/2.1/#considerations-for-the-new-model-view-permission

luzik avatar Dec 13 '18 12:12 luzik

The issue may or may not be fixed. The solution is simple, remove the view_page in your meta class should resolve this since Django 2.1 offer the default permission in view, add, edit and delete IIRC.

yangjiel avatar Apr 02 '20 19:04 yangjiel