Skip to content

Commit

Permalink
Merge pull request #61 from abolix/main
Browse files Browse the repository at this point in the history
psycopg2 update & DEFAULT_AUTO_FIELD added
  • Loading branch information
shamaevnn committed Apr 17, 2024
2 parents 6e3e617 + 44ea4c3 commit ef13753
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dtb/settings.py
Expand Up @@ -68,6 +68,8 @@
# ...
]

DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'

CORS_ORIGIN_ALLOW_ALL = True
CORS_ALLOW_CREDENTIALS = True

Expand Down Expand Up @@ -180,4 +182,3 @@
# # django.contrib.auth) you may enable sending PII data.
# send_default_pii=True
# )

2 changes: 1 addition & 1 deletion requirements.txt
Expand Up @@ -15,7 +15,7 @@ gunicorn==20.1.0
uvicorn==0.18.3

# Databases
psycopg2-binary==2.9.3
psycopg2-binary==2.9.9
dj-database-url==1.0.0

# Distributed async tasks
Expand Down

0 comments on commit ef13753

Please sign in to comment.