Skip to content

Commit

Permalink
new release (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
KingCSharp committed Oct 6, 2021
1 parent 67834d6 commit 2dfbedf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crm/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
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)
)

0 comments on commit 2dfbedf

Please sign in to comment.