13 lines
260 B
Python
13 lines
260 B
Python
from rest_framework import permissions
|
|
|
|
|
|
class ContractPermission(permissions.BasePermission):
|
|
|
|
def __init__(self) -> None: ...
|
|
|
|
def __call__(self, *args, **kwargs):
|
|
return self
|
|
|
|
def has_permission(self, request, view):
|
|
return True
|