django/base/urls.py

18 lines
584 B
Python
Raw Normal View History

2023-04-23 16:08:01 +00:00
from . import views
from django.urls import path
urlpatterns = [
path('login/', views.LoginPage, name="login"),
path('logout/', views.LogoutPage, name="logout"),
2023-05-30 09:30:00 +00:00
2023-04-23 16:08:01 +00:00
path('', views.index, name="dashboard"),
path('vendor/', views.VendorPage, name="vendor"),
2023-05-05 20:15:03 +00:00
path('vendor/edit/<str:vdr>/', views.VendorEditPage, name="edit-vendor"),
path('vendor/create', views.VendorCreatePage, name="create-vendor"),
2023-05-30 09:30:00 +00:00
path('vendor/address/<str:vdr>/', views.VendorAddrPage, name="add-address"),
#path('vendor-success', views.VendorSuccess, name="vendor-success")
2023-04-23 16:08:01 +00:00
]