Skip to content
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

Dotenv support #11

Merged
merged 1 commit into from
Feb 18, 2024
Merged

Dotenv support #11

merged 1 commit into from
Feb 18, 2024

Conversation

pbrochar
Copy link
Collaborator

Only change the way we import the dotenv file.
Before we used Path(__file__) so the dotenv had to be next to the settings.py

Now, we use os.getcwd() to use the current working directory.

Maybe in the future iteration we should search for a .env file in the blitz app folder, because we maybe have specific port for specific apps.

What do you think ?

@mde-pach
Copy link
Collaborator

mde-pach commented Feb 18, 2024

Sure, let's keep that in mind when we will build .blitz files and so on

@pbrochar pbrochar merged commit 0e59010 into main Feb 18, 2024
3 checks passed
@mde-pach mde-pach deleted the feature/dotenv-support branch February 18, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants