django/base/urls.py

13 lines
424 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"),
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-04-23 16:08:01 +00:00
]