diff --git a/env.example b/env.example index 532dd9216a186fda0f6216257e75b208018ce3f9..2c2f3f588841e9df95d7b641ec629fd8e6116872 100644 --- a/env.example +++ b/env.example @@ -1 +1 @@ -DATABASE_URL="postgresql://nastenka:nastenka@localhost:5432/postgres" +DATABASE_URL="postgresql://institut:institut@localhost:5432/postgres" diff --git a/institut/settings/base.py b/institut/settings/base.py index b1348b31e79ccd990f99f445976b262eea2c11bc..fb98f3b7f6525577b96551fb6f93c78391d2bae8 100644 --- a/institut/settings/base.py +++ b/institut/settings/base.py @@ -94,6 +94,8 @@ DATABASES = { "default": dj_database_url.config(conn_max_age=600, conn_health_checks=True) } +DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" + # Password validation # https://docs.djangoproject.com/en/4.2/ref/settings/#auth-password-validators