mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 11:51:10 -05:00
yay
This commit is contained in:
@@ -34,7 +34,12 @@ urlpatterns = [
|
||||
|
||||
# Include remaining accounts URLs
|
||||
path('', include('accounts.urls')),
|
||||
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
]
|
||||
|
||||
# Serve static files in development
|
||||
if settings.DEBUG:
|
||||
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
|
||||
handler404 = 'thrillwiki.views.handler404'
|
||||
handler500 = 'thrillwiki.views.handler500'
|
||||
|
||||
Reference in New Issue
Block a user