2023-12-06 18:12:31 +01:00
|
|
|
from django.urls import path, include
|
2023-11-20 15:53:42 +01:00
|
|
|
from . import views
|
|
|
|
from django.conf.urls.static import static
|
|
|
|
from django.conf import settings
|
2023-12-06 18:12:31 +01:00
|
|
|
from django.contrib.auth import urls
|
2023-11-20 15:53:42 +01:00
|
|
|
|
2023-12-06 18:12:31 +01:00
|
|
|
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)
|