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

Use Django's system check instead of a log warning #156

Closed
wants to merge 1 commit into from

Conversation

jnns
Copy link

@jnns jnns commented Dec 9, 2022

This allows silencing the warning in case the user knows what they are doing.

The check for AWS_S3_BUCKET_NAME is left untouched because it looks like even checks of level Error or Critical can be silenced. Raising an exception seems like the better option to me.

Closes #153.

This allows silencing the warning in case the user knows what they are
doing.

The check for AWS_S3_BUCKET_NAME is left untouched because it looks 
like even checks of level ERROR or CRITICAL can be silenced.
Raising an exception seems like the better option to me.

Closes etianen#153.
@etianen
Copy link
Owner

etianen commented Dec 18, 2022

Nice. I've tweaked this a bit in #157, and will push out a release today.

@etianen
Copy link
Owner

etianen commented Dec 18, 2022

Closing this in favor of discussion in #157. Your contribution would be appreciated!

@etianen etianen closed this Dec 18, 2022
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.

Use Django's system check framework instead of log message
2 participants