Template
Closes #9. Shop-gated buyer accounts, purchase reviews, Stripe customer ids, shipment tracking, slim public contact form, and a template-neutral seed_demo command.
20 lines
359 B
Python
20 lines
359 B
Python
from django.contrib.auth import views as auth_views
|
|
from django.urls import path
|
|
|
|
from accounts.views import PortalLoginView
|
|
|
|
app_name = "accounts"
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"login/",
|
|
PortalLoginView.as_view(),
|
|
name="login",
|
|
),
|
|
path(
|
|
"logout/",
|
|
auth_views.LogoutView.as_view(),
|
|
name="logout",
|
|
),
|
|
]
|