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

Run with DEBUG=False by default #2843

Closed
jnm opened this issue Oct 21, 2020 · 1 comment
Closed

Run with DEBUG=False by default #2843

jnm opened this issue Oct 21, 2020 · 1 comment
Assignees
Labels

Comments

@jnm
Copy link
Member

jnm commented Oct 21, 2020

We default to DEBUG=True if not overridden in the environment 👎

DEBUG = (os.environ.get('DJANGO_DEBUG', 'True') == 'True')

'debug': os.environ.get('TEMPLATE_DEBUG', 'True') == 'True',

@jnm jnm self-assigned this Oct 21, 2020
@jnm
Copy link
Member Author

jnm commented Oct 21, 2020

Also change KoBoCAT: kobotoolbox/kobocat#660

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants