from rest_framework.permissions import BasePermission, SAFE_METHODS
class ReadOnly(BasePermission): def has_permission(self, request, view): return request.method in SAFE_METHODS File "/Users/grant/br/Comfy/venv/lib/python2.7/site-packages/rest_framework/views.py", line 137, in permission_denied if not request.successful_authenticator: File "/Users/grant/br/Comfy/venv/lib/python2.7/site-packages/rest_framework/request.py", line 436, in __getattr__ return getattr(self._request, attr)AttributeError: 'WSGIRequest' object has no attribute 'successful_authenticator'--
You received this message because you are subscribed to a topic in the Google Groups "Django REST framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-rest-framework/emldSe_gxfI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-rest-fram...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--