From 2189de9433e4e5bb0d4286c221736f65d8078200 Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Mon, 26 Feb 2024 14:51:19 -0600 Subject: [PATCH] Fix url.py --- dmoj/urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmoj/urls.py b/dmoj/urls.py index 1fc560f..a7dacb8 100644 --- a/dmoj/urls.py +++ b/dmoj/urls.py @@ -1195,8 +1195,8 @@ urlpatterns = [ url(r"^resolver/(?P\w+)", resolver.Resolver.as_view(), name="resolver"), ] + url_static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) -if hasattr(settings, "INTERNAL_IPS"): - urlpatterns.append(url("__debug__/", include("debug_toolbar.urls"))) +# if hasattr(settings, "INTERNAL_IPS"): +# urlpatterns.append(url("__debug__/", include("debug_toolbar.urls"))) favicon_paths = [ "apple-touch-icon-180x180.png",