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

Melhorar o uso das variáveis de ambiente via python-dotenv #20

Closed
huogerac opened this issue Apr 14, 2023 · 0 comments
Closed

Melhorar o uso das variáveis de ambiente via python-dotenv #20

huogerac opened this issue Apr 14, 2023 · 0 comments
Labels
backend devops DX Developer Experience enhancement New feature or request

Comments

@huogerac
Copy link
Contributor

huogerac commented Apr 14, 2023

  • usar os recursos so python-dotenv para pegar DEBUG=True
  • remover os os.gentenv
  • colocar variáveis como CSRF_TRUSTED_ORIGINS que está hard coded

Talvez trocar para o python decouple faça mais sentido

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend devops DX Developer Experience enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant