Skip to content

Commit

Permalink
Merge pull request #10 from pbs/django19_postgresql_engine
Browse files Browse the repository at this point in the history
Added db engine django.db.backends.postgresql. This is new in django 1.9
  • Loading branch information
danclaudiupop committed Apr 28, 2016
2 parents 3d43e4d + c8d94e5 commit 6639b78
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name='django-heartbeat',
version='2.0.1',
version='2.0.2',
description="Your project's heartbeat/healthcheck and dependency status",
long_description=('A simple reusable app that checks and lists '
'various information about your project and its '
Expand Down
1 change: 1 addition & 0 deletions src/heartbeat/checkers/databases.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def get_database_version(connection, engine):
if connection.settings_dict['ENGINE'] == 'django.db.backends.dummy':
return
engines = {
'django.db.backends.postgresql': 'SELECT version();',
'django.db.backends.postgresql_psycopg2': 'SELECT version();',
'django.db.backends.mysql': 'SELECT version();',
'django.db.backends.sqlite3': 'select sqlite_version();',
Expand Down

0 comments on commit 6639b78

Please sign in to comment.