Use path converter in media url

This commit is contained in:
Edgar P. Burkhart 2022-12-21 14:43:01 +01:00
parent 4a1bd56fd9
commit 4a41f998d7
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -23,7 +23,7 @@ from django.conf.urls.static import static
from . import views
urlpatterns = [
path("media/<path>", views.media, name="media"),
path("media/<path:path>", views.media, name="media"),
] + i18n_patterns(
path("", include("main.urls")),
path("plot/", include("plot.urls")),