florimondmanca/djangorestframework-api-key

Import not working

Closed this issue · 0 comments

Describe the bug
rest_framework_api_key import is missing
python manage.py runserver still works,
gunicorn wsgi.py throws "ModuleNotFoundError: No module named 'rest_framework_api_key'"

To Reproduce
Create a basic new project with a view that contains the line 'from rest_framework_api_key.permissions import HasAPIKey'

Expected behavior
Should import module without error.

Screenshots
image

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Python Version: 3.8
  • Django Version: 4.07
  • DRF Version: 3.14.0