diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc index 3720ab2..da097f9 100644 Binary files a/digitaleagentur/__pycache__/settings.cpython-38.pyc and b/digitaleagentur/__pycache__/settings.cpython-38.pyc differ diff --git a/digitaleagentur/asgi.py b/digitaleagentur/asgi.py new file mode 100644 index 0000000..27056c6 --- /dev/null +++ b/digitaleagentur/asgi.py @@ -0,0 +1,12 @@ +""" +ASGI entrypoint. Configures Django and then runs the application +defined in the ASGI_APPLICATION setting. +""" + +import os +import django +from channels.routing import get_default_application + +os.environ.setdefault("DJANGO_SETTINGS_MODULE", "digitaleagentur.settings") +django.setup() +application = get_default_application() \ No newline at end of file diff --git a/digitaleagentur/settings.py b/digitaleagentur/settings.py index a3cc97d..2c27d44 100644 --- a/digitaleagentur/settings.py +++ b/digitaleagentur/settings.py @@ -14,35 +14,37 @@ from datetime import datetime, timedelta # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) -############################################## DEV ##################################### -BASE_URL = "https://dev01.digitale-agentur.com/" +############################################## LOCAL ##################################### +BASE_URL = "http://localhost:8000/" CRONAPIKEY = "gCddsaz6NOnE9QbXZM5LasdEk122D" MAILINFOKEY = "jka7sd8iukashdna78skduJAHDsu6dilaksdjba65a68iadbhjak" # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -# MAIL DEV -EMAIL_HOST = 'smtp.strato.de' -EMAIL_PORT = 587 -EMAIL_USE_TLS = True -EMAIL_HOST_USER = "support@dev01.digitale-agentur.com" -EMAIL_HOST_PASSWORD = "n2xd7emyKZFb6UREzvbintuUIG" -DEFAULT_FROM_EMAIL = "support@dev01.digitale-agentur.com" - +# Database +# https://docs.djangoproject.com/en/2.2/ref/settings/#databases # DEV DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', - 'NAME' : 'digitaleagentur_dev01', - 'USER' : 'digitaleagentur_dev01', - 'PASSWORD' : 't3TvtGAOkFHYXdJlUMIu9u3U', + 'NAME' : 'digitaleagentur', + 'USER' : 'root', + 'PASSWORD' : '', 'PORT' : 3306 } } +# MAIL DEV +EMAIL_HOST = 'gymhum.de' +EMAIL_PORT = 587 +EMAIL_USE_TLS = True +EMAIL_HOST_USER = "holger.trampe" +EMAIL_HOST_PASSWORD = "Motte2016_!" +DEFAULT_FROM_EMAIL = "holger.trampe@gymhum.de" + # REDIS REDIS_URL = ("localhost", 6379) -############################################## DEV ##################################### +################################################### LOCAL ############################### diff --git a/digitaleagentur/wsgi.py b/digitaleagentur/wsgi.py index 1ccc27c..cee7f3e 100644 --- a/digitaleagentur/wsgi.py +++ b/digitaleagentur/wsgi.py @@ -13,4 +13,4 @@ from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'digitaleagentur.settings') -application = get_wsgi_application() +application = get_wsgi_application() \ No newline at end of file diff --git a/users/templates/users/base.html b/users/templates/users/base.html index 86e0aab..f2efde7 100644 --- a/users/templates/users/base.html +++ b/users/templates/users/base.html @@ -28,13 +28,6 @@ - - - - - - -