From 3128e236fb080cf362f5ea80b2e3adc7a2f39c87 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 6 May 2020 19:04:14 +0200 Subject: [PATCH] Use statics... --- tfjm/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tfjm/urls.py b/tfjm/urls.py index 90c467c..f863d96 100644 --- a/tfjm/urls.py +++ b/tfjm/urls.py @@ -38,7 +38,7 @@ urlpatterns = [ path('api/', include('api.urls')), - re_path(r'^%s(?P.*)$' % re.escape(settings.STATIC_URL.lstrip('/')), serve), + re_path(r'^static/(?P.*)$', serve), # Supporting old paths path('inscription/', RedirectView.as_view(pattern_name="member:signup")),