new release (#452)
This commit is contained in:
parent
0bd2545289
commit
a47a44a49e
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ urlpatterns = [
|
|||
path("logout/", views.LogoutView, {"next_page": "/login/"}, name="logout"),
|
||||
]
|
||||
|
||||
|
||||
if settings.DEBUG:
|
||||
urlpatterns = (
|
||||
urlpatterns + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT),
|
||||
urlpatterns
|
||||
+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue