permission.py 139 B

12345
  1. from rest_framework_api_key.permissions import BaseHasAPIKey
  2. from .models import APIKey
  3. class HasAPIKey(BaseHasAPIKey):
  4. model = APIKey