2👍
✅
first i recommend you to use django rest_framework.it has many good tools for that and you can run your site in anyplatform that you want.its just a advice not related to your question.
for your problem you have 2 ways first use the django document for underestanding what is the permissions model.with class Meta:
https://docs.djangoproject.com/en/1.10/ref/models/options/#permissions
second you can use the django app name : django-guardian
see the doc:
https://django-guardian.readthedocs.io/en/stable/overview.html
Source:stackexchange.com