"""
Django settings for DirtyDrive project.

Generated by 'django-admin startproject' using Django 1.10.4.

For more information on this file, see
https://docs.djangoproject.com/en/1.10/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.10/ref/settings/
"""

import os

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '1we^c3skcbg+68s*a5!x!+-t!u_ywa3a91)%(95qa7t@1f_2up'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False

ALLOWED_HOSTS = [
    'dirtydrive.azurewebsites.net',
    '*',
]


# Application definition

INSTALLED_APPS = [
    'DirtyDrive.apps.DirtyDriveConfig',
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    'django.contrib.gis',
]

MIDDLEWARE = [
    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'DirtyDrive.urls'

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        'DIRS': [],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

WSGI_APPLICATION = 'DirtyDrive.wsgi.application'


# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases


#DATABASES = {
#    'default': {
#        'ENGINE': 'django.db.backends.sqlite3',
#        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
#    }
#}

DATABASES = {
    'default': {
        'ENGINE': 'django.contrib.gis.db.backends.postgis',
        #'ENGINE': 'django.db.backends.postgresql',
        #'ENGINE': 'django.db.backends.sqlite3',
        #'NAME': 'postgis_DirtyDrive2',
        #'NAME': 'DirtyDrive7',
        'NAME': 'DirtyDriveGis',
        #'NAME': os.path.join(BASE_DIR, 'db_DirtyDrive.sqlite3'),
        'USER': 'postgres',
        'PASSWORD': 'dbpassword',
        'HOST': 'localhost',
    }
}

# Password validation
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
    {
        'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
    },
    {
        'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
    },
    {
        'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
    },
    {
        'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
    },
]


# Internationalization
# https://docs.djangoproject.com/en/1.10/topics/i18n/

#LANGUAGE_CODE = 'en-us'
LANGUAGE_CODE = 'de'

#TIME_ZONE = 'UTC'
TIME_ZONE = 'Europe/Berlin'

USE_I18N = True

USE_L10N = True

USE_TZ = True


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.10/howto/static-files/

STATIC_URL = '/static/'

@@ -1149,24 +1149,25 @@
 aticfiles',%0A
+#
     'django.
@@ -2424,32 +2424,33 @@
 ult': %7B%0A        
+#
 'ENGINE': 'djang
@@ -2537,33 +2537,32 @@
 resql',%0A        
-#
 'ENGINE': 'djang
@@ -2625,33 +2625,32 @@
 rive2',%0A        
-#
 'NAME': 'DirtyDr
@@ -2652,17 +2652,17 @@
 rtyDrive
-7
+1
 ',%0A     
@@ -2656,32 +2656,33 @@
 rive1',%0A        
+#
 'NAME': 'DirtyDr
@@ -2764,16 +2764,17 @@
         
+#
 'USER': 
@@ -2793,16 +2793,17 @@
         
+#
 'PASSWOR
@@ -2828,16 +2828,17 @@
         
+#
 'HOST': 

Update settings.py