Nakon uredjivanja baze

This commit is contained in:
2024-01-08 14:13:38 +01:00
parent b291d2e08f
commit b6454c5f78
12 changed files with 27 additions and 3 deletions

Binary file not shown.

View File

@@ -17,6 +17,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# dodano
import os
import GDAL
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -51,7 +52,7 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework',
'plovidba_projekt',
'plovidba_aplikacija',
]
MIDDLEWARE = [
@@ -93,7 +94,7 @@ DATABASES = {
'ENGINE': 'django.contrib.gis.db.backends.postgis',
'NAME': 'plovidba_db',
'USER': 'postgres',
'PASSWORD': 'test123',
'PASSWORD': 'postgres',
'HOST': 'localhost',
'PORT': '5432',
}