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

Adopt django-dotenv #28

Open
uranusjr opened this issue Jun 4, 2016 · 2 comments
Open

Adopt django-dotenv #28

uranusjr opened this issue Jun 4, 2016 · 2 comments

Comments

@uranusjr
Copy link
Owner

uranusjr commented Jun 4, 2016

https://github.com/jpadilla/django-dotenv

Avoid setting environ directly (in either ~/.bashrc or venv/bin/activate).

@uranusjr uranusjr changed the title Adapt django-dotenv Adopt django-dotenv Jun 4, 2016
@gogobook
Copy link

gogobook commented Jun 4, 2016

環境變數要放在.env中,不要放在 ~/.bashrc or venv/bin/activate,所以使用django-dotenv就不用特別為 .env做特別的設定了嗎?

@uranusjr
Copy link
Owner Author

uranusjr commented Jun 4, 2016

還是要加個幾行程式啦,看專案的 readme 裡有範例。整題來講設定上沒有差很多(只是換個地方寫環境變數),主要是專案切換時方便。

@uranusjr uranusjr mentioned this issue Jun 20, 2017
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants