Skip to content
Permalink
1db41635c6
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
37 lines (25 sloc) 1020 Bytes
from django.urls import path
# from . import views
from .views import *
urlpatterns = [
path("index", index, name="index"),
path('login/', user_login, name='login'),
# path('registerr/', register, name='registerr'),
path('delivery_detail/', delivery_detail, name='delivery_detail'),
path('registerr/', register, name='registerr'),
# path('display_data/<int:employee_id>/deliveries/', display_data, name='display_data'),
# Add more URL patterns here as needed
path('logout/', LogoutView.as_view(), name='logout'),
]
# from django.urls import path
# from . import views
# urlpatterns = [
# # ex: /polls/
# path("", views.index, name="index"),
# # ex: /polls/5/
# path("<int:question_id>/", views.detail, name="detail"),
# # ex: /polls/5/results/
# path("<int:question_id>/results/", views.results, name="results"),
# # ex: /polls/5/vote/
# path("<int:question_id>/vote/", views.vote, name="vote"),
# ]