Skip to content

Commit

Permalink
Added psycopg2 version printing for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
M1ha-Shvn committed Oct 23, 2023
1 parent f1e441d commit c97025d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
import sys

import django
import psycopg2
from django.conf import settings
from django.test.utils import get_runner

if __name__ == "__main__":
print('Django: ', django.VERSION)
print('Python: ', sys.version)
print('Psycopg2: ', psycopg2.__version__)

# Add the src directory to sys.path
curdir = os.path.dirname(os.path.realpath(__file__))
Expand Down

0 comments on commit c97025d

Please sign in to comment.