diff --git a/digitaleagentur/__pycache__/settings.cpython-38.pyc b/digitaleagentur/__pycache__/settings.cpython-38.pyc index 77c9ca1..e75ddf6 100644 Binary files a/digitaleagentur/__pycache__/settings.cpython-38.pyc and b/digitaleagentur/__pycache__/settings.cpython-38.pyc differ diff --git a/digitaleagentur/__pycache__/urls.cpython-38.pyc b/digitaleagentur/__pycache__/urls.cpython-38.pyc index b3c21f0..6f2959d 100644 Binary files a/digitaleagentur/__pycache__/urls.cpython-38.pyc and b/digitaleagentur/__pycache__/urls.cpython-38.pyc differ diff --git a/digitaleagentur/__pycache__/wsgi.cpython-38.pyc b/digitaleagentur/__pycache__/wsgi.cpython-38.pyc index 3e8074e..d86f035 100644 Binary files a/digitaleagentur/__pycache__/wsgi.cpython-38.pyc and b/digitaleagentur/__pycache__/wsgi.cpython-38.pyc differ diff --git a/digitaleagentur/settings.py b/digitaleagentur/settings.py index f3e5338..4c38a3f 100644 --- a/digitaleagentur/settings.py +++ b/digitaleagentur/settings.py @@ -27,10 +27,13 @@ SECRET_KEY = '_qv2t2lmsctjxpbb4rrp=op%_20_hxzonv^mvty1o85c)l$s^q' # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = ['digitale-agentur.com', 'www.digitale-agentur.com', 'localhost'] +ALLOWED_HOSTS = ['digitale-agentur.com', 'www.digitale-agentur.com', 'localhost', "0.0.0.0"] + + # Application definition INSTALLED_APPS = [ + 'notificsys.apps.NotificsysConfig', 'users.apps.UsersConfig', 'dasettings.apps.DASettingsConfig', 'areas.apps.AreasConfig', @@ -86,6 +89,8 @@ TEMPLATES = [ WSGI_APPLICATION = 'digitaleagentur.wsgi.application' +ASGI_APPLICATION = 'digitaleagentur.routing.application' + # CKEDITOR CKEDITOR_JQUERY_URL = '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js' @@ -134,6 +139,7 @@ DATABASES = { } } + # Password validation # https://docs.djangoproject.com/en/2.2/ref/settings/#auth-password-validators @@ -206,6 +212,8 @@ EMAIL_HOST_USER = "support@digitale-agentur.com" EMAIL_HOST_PASSWORD = "aPx9m3!7x3m@8o!t" DEFAULT_FROM_EMAIL = "support@digitale-agentur.com" + + # FOR DATEPICKER BOOTSTRAP4 = { 'include_jquery': True, diff --git a/digitaleagentur/urls.py b/digitaleagentur/urls.py index 55fc334..2122f55 100644 --- a/digitaleagentur/urls.py +++ b/digitaleagentur/urls.py @@ -7,7 +7,6 @@ from users.views import AgencyCreateView from . import views from ckeditor_uploader.views import upload from django.contrib.auth.decorators import login_required - ''' Main URLS @@ -43,6 +42,7 @@ urlpatterns = [ path('register/', AgencyCreateView.as_view(template_name='users/register.html'), name='register'), path('register/done', views.registerdone, name='register-done'), path('summernote/', include('django_summernote.urls')), + path('notifications/', include('notificsys.urls'), name="notifications") ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/orga/__pycache__/views.cpython-38.pyc b/orga/__pycache__/views.cpython-38.pyc index 81e7621..f1cf44f 100644 Binary files a/orga/__pycache__/views.cpython-38.pyc and b/orga/__pycache__/views.cpython-38.pyc differ diff --git a/orga/templates/orga/orga_main.html b/orga/templates/orga/orga_main.html index f522382..bd37be8 100644 --- a/orga/templates/orga/orga_main.html +++ b/orga/templates/orga/orga_main.html @@ -78,7 +78,7 @@ function unflatten(arr) { return tree; } -var html = ['