-
Hello, I am trying to deploy my django project on heroku and i got the deserialization error, permission matching query does not exist while I run the command 'heroku run python manage.py loaddata '. Please help me. Thank you. Here is my github repo for project. https://github.com/hainhtat/carzone-github. Here is the screenshot of the error. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It seems that the auth.user objects are not in sync with real permissions. Not sure how it's possible, but it has no practical impact as Weblate no longer uses Django permissions. Quick fix: drop all auth.user objects from the json file. They are no longer used by Weblate, but the model cannot be removed from the database because of Django limitations. |
Beta Was this translation helpful? Give feedback.
It seems that the auth.user objects are not in sync with real permissions. Not sure how it's possible, but it has no practical impact as Weblate no longer uses Django permissions.
Quick fix: drop all auth.user objects from the json file. They are no longer used by Weblate, but the model cannot be removed from the database because of Django limitations.