Use statics...
This commit is contained in:
parent
a47d9a9cb6
commit
3128e236fb
|
@ -38,7 +38,7 @@ urlpatterns = [
|
||||||
|
|
||||||
path('api/', include('api.urls')),
|
path('api/', include('api.urls')),
|
||||||
|
|
||||||
re_path(r'^%s(?P<path>.*)$' % re.escape(settings.STATIC_URL.lstrip('/')), serve),
|
re_path(r'^static/(?P<path>.*)$', serve),
|
||||||
|
|
||||||
# Supporting old paths
|
# Supporting old paths
|
||||||
path('inscription/', RedirectView.as_view(pattern_name="member:signup")),
|
path('inscription/', RedirectView.as_view(pattern_name="member:signup")),
|
||||||
|
|
Loading…
Reference in New Issue