django/base/urls.py

18 lines
584 B
Python

from . import views
from django.urls import path
urlpatterns = [
path('login/', views.LoginPage, name="login"),
path('logout/', views.LogoutPage, name="logout"),
path('', views.index, name="dashboard"),
path('vendor/', views.VendorPage, name="vendor"),
path('vendor/edit/<str:vdr>/', views.VendorEditPage, name="edit-vendor"),
path('vendor/create', views.VendorCreatePage, name="create-vendor"),
path('vendor/address/<str:vdr>/', views.VendorAddrPage, name="add-address"),
#path('vendor-success', views.VendorSuccess, name="vendor-success")
]