Use path converter in media url
This commit is contained in:
parent
4a1bd56fd9
commit
4a41f998d7
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ from django.conf.urls.static import static
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path("media/<path>", views.media, name="media"),
|
path("media/<path:path>", views.media, name="media"),
|
||||||
] + i18n_patterns(
|
] + i18n_patterns(
|
||||||
path("", include("main.urls")),
|
path("", include("main.urls")),
|
||||||
path("plot/", include("plot.urls")),
|
path("plot/", include("plot.urls")),
|
||||||
|
|
Loading…
Reference in a new issue