diff --git a/recipes/urls.py b/recipes/urls.py index 8d2d7f59..80e0f92d 100644 --- a/recipes/urls.py +++ b/recipes/urls.py @@ -25,5 +25,4 @@ urlpatterns = [ path('i18n/', include('django.conf.urls.i18n')), ] -if settings.GUNICORN_MEDIA or settings.DEBUG: - urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) +urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)