Fix url.py

This commit is contained in:
cuom1999 2024-02-26 14:51:19 -06:00
parent 1e7957a2cd
commit 2189de9433

View file

@ -1195,8 +1195,8 @@ urlpatterns = [
url(r"^resolver/(?P<contest>\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",