mirror of
https://github.com/Nebucatnetzer/network_inventory.git
synced 2024-07-01 13:40:56 +02:00
change the static path
This commit is contained in:
parent
670047ba0d
commit
9bacd173b0
|
@ -16,6 +16,8 @@ Including another URLconf
|
|||
from django.conf.urls import include, url
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
|
||||
from rest_framework import routers
|
||||
|
||||
|
@ -47,4 +49,4 @@ urlpatterns = [
|
|||
path('api/', include(router.urls)),
|
||||
path('api/', include('rest_framework.urls')),
|
||||
path('api/admin/', admin.site.urls),
|
||||
]
|
||||
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
|
Loading…
Reference in New Issue
Block a user