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

DEBUG must be set to False in production #16

Open
khatchad opened this issue Feb 17, 2021 · 4 comments
Open

DEBUG must be set to False in production #16

khatchad opened this issue Feb 17, 2021 · 4 comments
Labels
help wanted Extra attention is needed
Milestone

Comments

@khatchad
Copy link
Member

In production, DEBUG must be set to False. In other words, I should see a standard 404 page when visiting https://fathomless-inlet-57767.herokuapp.com/ponder/register/:

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

@tatianacv
Copy link
Member

I have set DEBUG to false in settings.py.

@khatchad
Copy link
Member Author

  1. Can you reference the commit that closes this issue?
  2. To be clear, DEBUG should be set to False in prod but True in dev. Can you confirm that this is the case?

@khatchad khatchad reopened this Feb 18, 2021
@khatchad
Copy link
Member Author

We don't have a separate staging dev area.

@khatchad khatchad added this to the Future milestone Feb 18, 2021
@khatchad
Copy link
Member Author

Ideally, in dev mode (or local), we would have this flag set to true but not in prod. Right now, individual developers have to be careful not to commit settings changes that set this to True in prod.

@khatchad khatchad added the help wanted Extra attention is needed label Feb 18, 2021
khatchad added a commit that referenced this issue Mar 8, 2021
Per #16, we are still in the dev stage.
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

2 participants