Skip to content

Commit a4d3db4

Browse files
committed
Static url changed
1 parent fa29f23 commit a4d3db4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

linuxiston/urls.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
]
1717

1818
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
19-
if settings.DEBUG:
20-
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATICFILES_DIRS)
21-
else:
22-
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
19+
# if settings.DEBUG:
20+
# urlpatterns += static(settings.STATIC_URL, document_root=settings.STATICFILES_DIRS)
21+
# else:
22+
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

0 commit comments

Comments
 (0)