Django has a handy decorator to check permissions on a view function. [1] I request this decorator to be included in DRF.
[1] https://docs.djangoproject.com/en/2.2/topics/auth/default/#the-permission-required-decorator -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-rest-framework/d7babd11-0e01-48c4-99fe-e66fc2383c6b%40googlegroups.com.
