Skip to content

Commit 9dba520

Browse files
committed
Adds docs
1 parent d3cd0b8 commit 9dba520

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/djapp/settings_pg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
from .settings import * # noqa: F401, F403
88

99
try:
10+
# pypy does not support `psycopg2` or `psycopg2-binary`
11+
# This is a package that only gets installed with pypy, and it needs to be
12+
# initialized for it to work properly. It mimic `psycopg2` 1-to-1
1013
from psycopg2cffi import compat
1114
compat.register()
1215
except ImportError:

0 commit comments

Comments
 (0)