serve staticfiles directly
This commit is contained in:
parent
f2d61b6dec
commit
0e697a026b
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@ Including another URLconf
|
|||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
from django.views.generic import TemplateView
|
||||
|
||||
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
|
@ -27,3 +27,4 @@ urlpatterns = [
|
|||
path("api/rapporti/add", views.rapporto_add),
|
||||
path("api/rapporti/delete", views.rapporto_delete),
|
||||
]
|
||||
urlpatterns += staticfiles_urlpatterns()
|
||||
|
|
Loading…
Reference in a new issue