#DEBUG = False
#TEMPLATE_DEBUG = DEBUG
SITE_URL = ''
DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        'NAME': 'cartoview2',
        'USER': 'postgres',
        'PASSWORD': 'postgis',
        'HOST': 'localhost',
        'PORT': '',
    }
}
import os
current_folder, filename = os.path.split(os.path.abspath(__file__))
PROJECT_ROOT = os.path.abspath(os.path.join(current_folder, os.path.pardir))
INSTALLATION_DIR = os.path.abspath(os.path.join(PROJECT_ROOT, os.path.pardir))


#STATIC_ROOT =  os.path.join(INSTALLATION_DIR ,'static')
from sys import platform as _platform
if _platform == "win32":
    GEOS_LIBRARY_PATH = 'C:\\OSGeo4W\\bin\\geos_c.dll'
SECRET_KEY = 'viw&se#qdtf*3lgxd2v5elbmlvj4ok4equc8fgx&ak(tb_9ah='
RESTART_SERVER_BAT = os.path.join(INSTALLATION_DIR, 'restart_server.bat')
