Skip to content

Commit

Permalink
Add postgresql+asyncpg scheme prefix (closes encode#395)
Browse files Browse the repository at this point in the history
  • Loading branch information
mhadam committed Sep 22, 2021
1 parent 612857d commit 4987065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions databases/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
class Database:
SUPPORTED_BACKENDS = {
"postgresql": "databases.backends.postgres:PostgresBackend",
"postgresql+asyncpg": "databases.backends.postgres:PostgresBackend",
"postgresql+aiopg": "databases.backends.aiopg:AiopgBackend",
"postgres": "databases.backends.postgres:PostgresBackend",
"mysql": "databases.backends.mysql:MySQLBackend",
Expand Down

0 comments on commit 4987065

Please sign in to comment.