35576-vm/core/urls.py
Flatlogic Bot 27ef0de5ae v1
2025-11-08 16:09:11 +00:00

12 lines
371 B
Python

from django.urls import path, include
from django.views.generic import RedirectView
from .views import home, SignUpView
urlpatterns = [
path("", home, name="home"),
path("accounts/", include("django.contrib.auth.urls")),
path("signup/", SignUpView.as_view(), name="signup"),
path('login/', RedirectView.as_view(url='/accounts/login/'), name='login'),
]