9 lines
255 B
Python
9 lines
255 B
Python
|
from django.urls import path
|
||
|
from . import views
|
||
|
from django.conf.urls.static import static
|
||
|
from django.conf import settings
|
||
|
|
||
|
urlpatterns = [path("detect/", views.view, name="detect")] + static(
|
||
|
settings.MEDIA_URL, document_root=settings.MEDIA_ROOT
|
||
|
)
|