Plankton_Detector/PlanktonDetector/DetectionApp/urls.py
2023-12-06 18:12:31 +01:00

13 lines
500 B
Python

from django.urls import path, include
from . import views
from django.conf.urls.static import static
from django.conf import settings
from django.contrib.auth import urls
urlpatterns = [
path("detect/", views.DetectView.as_view(), name="detect"),
path("login/", views.LoginView.as_view(), name="login"),
path("logout/", views.logout_view, name="logout"),
path("register/", views.SignupView.as_view(), name="signup"),
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)