Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import not working #225

Closed
tkallady opened this issue Oct 21, 2022 · 0 comments
Closed

Import not working #225

tkallady opened this issue Oct 21, 2022 · 0 comments

Comments

@tkallady
Copy link

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
Repository owner locked and limited conversation to collaborators Jan 19, 2023
@florimondmanca florimondmanca converted this issue into discussion #228 Jan 19, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant