Nakon uredjivanja baze
This commit is contained in:
Binary file not shown.
BIN
plovidba_projekt/__pycache__/wsgi.cpython-38.pyc
Normal file
BIN
plovidba_projekt/__pycache__/wsgi.cpython-38.pyc
Normal file
Binary file not shown.
@@ -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',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user