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

Rewrite settings.py to properly handle debug vs production #49

Open
amc-corey-cox opened this issue Dec 14, 2023 · 0 comments
Open

Rewrite settings.py to properly handle debug vs production #49

amc-corey-cox opened this issue Dec 14, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@amc-corey-cox
Copy link
Collaborator

Our settings.py does not properly handle debug/development vs production/deployment. Currently, we detect .env files or environment type and import environment variables based on these. We also use the DEBUG variable inconsistently. This results in having to manually comment or uncomment lines to get the repository ready for deployment. I'd like to have a clean and consistent method that doesn't require as much setup or manual effort.

@amc-corey-cox amc-corey-cox added the help wanted Extra attention is needed label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant