florimondmanca / djangorestframework-api-key

🔐 API key permissions for Django REST Framework
https://florimondmanca.github.io/djangorestframework-api-key/
MIT License
678 stars 104 forks source link

Import not working #225

Closed tkallady closed 1 year ago

tkallady commented 2 years ago

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):