We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We can improve this code like that:
def check_database_connection(**kwargs): for conn in connections.all(): try: conn.cursor() return True except OperationalError: return False return False
reported by @eltonplima in #158
The text was updated successfully, but these errors were encountered:
Merge pull request #166 from Ilhasoft/issue/165
3949e58
Fix #165, close #161
423f4fa
No branches or pull requests
We can improve this code like that:
reported by @eltonplima in #158
The text was updated successfully, but these errors were encountered: