Permalink
Cannot retrieve contributors at this time
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?
delivry/delivery/urls.py
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (25 sloc)
1020 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"), | |
# ] |