Remove CSFR from GET and redo indentation fpr HTML files.

This commit is contained in:
Stephan Porada
2020-08-02 14:35:41 +02:00
parent acc210ee47
commit ff26bc2a37
16 changed files with 1320 additions and 1330 deletions

View File

@ -28,7 +28,8 @@ SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string'
DEBUG = True
# CHANGE the hosts according to your settings.
ALLOWED_HOSTS = ["127.0.0.1", "localhost", "192.168.0.14"]
ALLOWED_HOSTS = ["127.0.0.1", "localhost", "192.168.0.14",
"bundesdata.sporada.eu"]
# Application definition
@ -84,10 +85,6 @@ WSGI_APPLICATION = 'bundesdata_app.wsgi.application'
# Database
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases
# Change NAME, USER and PASSWORD details before deploying your own public
# version of this app. Or use your onw secrets.json file. Explanation found can
# be foudn here: https://stackoverflow.com/a/42077576
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',