Added versioning to requirements.txt.
parent
0d98ac8477
commit
8295db5583
|
@ -77,13 +77,13 @@ WSGI_APPLICATION = "alttextbackend.wsgi.application"
|
||||||
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
|
# https://docs.djangoproject.com/en/4.2/ref/settings/#databases
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
"default": {
|
||||||
'ENGINE': 'django.db.backends.postgresql',
|
"ENGINE": "django.db.backends.postgresql",
|
||||||
'NAME': os.environ['DATABASE_NAME'],
|
"NAME": os.environ["DATABASE_NAME"],
|
||||||
'USER': os.environ['DATABASE_USER'],
|
"USER": os.environ["DATABASE_USER"],
|
||||||
'PASSWORD': os.environ['DATABASE_PASSWORD'],
|
"PASSWORD": os.environ["DATABASE_PASSWORD"],
|
||||||
'HOST': os.environ['DATABASE_HOST'], # Or the address of your database server
|
"HOST": os.environ["DATABASE_HOST"], # Or the address of your database server
|
||||||
'PORT': os.environ['DATABASE_PORT'], # Default PostgreSQL port
|
"PORT": os.environ["DATABASE_PORT"], # Default PostgreSQL port
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
django
|
django==4.2.6
|
||||||
django_rest_framework
|
djangorestframework==3.14.0
|
||||||
python-dotenv
|
python-dotenv==1.0.1
|
Loading…
Reference in New Issue