statics
This commit is contained in:
parent
8fe161a079
commit
0fd988204a
1 changed files with 1 additions and 4 deletions
|
@ -21,7 +21,4 @@ from django.conf import settings
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('admin/', admin.site.urls),
|
path('admin/', admin.site.urls),
|
||||||
path('', include('account.urls')),
|
path('', include('account.urls')),
|
||||||
]
|
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||||
|
|
||||||
if settings.DEBUG:
|
|
||||||
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
|
||||||
|
|
Loading…
Reference in a new issue