-
Notifications
You must be signed in to change notification settings - Fork 41
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
Readme WSGI example doesn't find the correct folder #39
Comments
I just ran into this issue in my own environment. Changing to is what fixed the problem for me. Hope this helps! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
Trying to run the WSGI example on readme doesn't work when runned in any other folder than the one the .env lives.
For example, having a folder with a .env a file named main.py:
Running on the same folder works without problems:
Moving to another folder, fails:
This can be avoided removing the duplicated
os.path.dirname
part:Is the parameter supposed to be entered relative to the main.py folder, or relative to the folder being run?
Cheers!
The text was updated successfully, but these errors were encountered: