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

Clean up DEBUG warning in settings.py #1332

Merged
merged 2 commits into from
Aug 3, 2020
Merged

Clean up DEBUG warning in settings.py #1332

merged 2 commits into from
Aug 3, 2020

Conversation

Twixes
Copy link
Member

@Twixes Twixes commented Aug 3, 2020

Changes

A cleaner development mode terminal warning.

DEBUG

@timgl timgl temporarily deployed to posthog-nicer-debug-war-pqoazq August 3, 2020 15:04 Inactive
print_warning(
(
"️Environment variable DEBUG is set - PostHog is running in development mode!",
"Absolutely unset DEBUG if this is supposed to be a production environment!",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't quite correct English. Maybe Please unset DEBUG if this is a production environment

@timgl timgl temporarily deployed to posthog-nicer-debug-war-pqoazq August 3, 2020 15:13 Inactive
@timgl timgl merged commit 00296cb into master Aug 3, 2020
@timgl timgl deleted the nicer-debug-warning branch August 3, 2020 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants