diff options
| -rw-r--r-- | thatcomputerscientist/urls.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/thatcomputerscientist/urls.py b/thatcomputerscientist/urls.py index f1587104..ccebe812 100644 --- a/thatcomputerscientist/urls.py +++ b/thatcomputerscientist/urls.py @@ -15,6 +15,8 @@ Including another URLconf """ from django.contrib import admin from django.urls import path, include, re_path +from django.conf import settings +from django.conf.urls.static import static urlpatterns = [ path('admin/', admin.site.urls), @@ -22,3 +24,5 @@ urlpatterns = [ path('users/', include('users.urls', namespace='users')), path('', include(('userpages.urls', 'userpages'), namespace='userpages')), ] + +urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) |
