diff --git a/digitaleagentur/__pycache__/urls.cpython-38.pyc b/digitaleagentur/__pycache__/urls.cpython-38.pyc index 7b362bb..48efc11 100644 Binary files a/digitaleagentur/__pycache__/urls.cpython-38.pyc and b/digitaleagentur/__pycache__/urls.cpython-38.pyc differ diff --git a/digitaleagentur/urls.py b/digitaleagentur/urls.py index 4dc132f..fbb3f52 100644 --- a/digitaleagentur/urls.py +++ b/digitaleagentur/urls.py @@ -35,8 +35,8 @@ urlpatterns = [ path('chat/', include('chat.urls'), name='chat'), path('api-token-auth/', obtain_auth_token, name='api-token-auth'), ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) -if settings.DEBUG: - urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) +#if settings.DEBUG: + # urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) # ERROR HANDLERS handler404 = 'users.views.handler404'