waliki
waliki copied to clipboard
permission codenamed 'view_page' clashes with a builtin permission
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'.
This is related to: https://docs.djangoproject.com/en/2.1/releases/2.1/#considerations-for-the-new-model-view-permission
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.