This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Django REST Framework Permission Class for Django Rules | |
""" | |
from rest_framework import permissions, exceptions | |
from rest_framework.viewsets import ModelViewSet | |
from django.http import Http404 | |
class DjangoRulesMethodObjectPermissions(permissions.BasePermission): | |
""" |