JourneyJoker/partners/urls.py

15 lines
752 B
Python
Raw Normal View History

2021-03-23 18:23:04 +00:00
from django.urls import path
from .views import PartnerRegistrationView, PartnerProfileView, BiddingListView, OffersListView, EstablishmentsListView, EstablishmentRequestView
2021-03-23 18:23:04 +00:00
app_name = "partners"
urlpatterns = [
path('register/', PartnerRegistrationView.as_view(), name="register"),
path('profile/', PartnerProfileView.as_view(), name="profile"),
2021-04-09 15:01:33 +00:00
path('establishments/', EstablishmentsListView.as_view(), name="establishments"),
path('establishments/register/', EstablishmentRequestView.as_view(), name="establishment_register"),
2021-04-08 16:34:21 +00:00
path('bidding/<int:id>/', BiddingListView.as_view(), name="bidding"),
2021-04-09 15:01:33 +00:00
path('bidding/', BiddingListView.as_view(), name="bidding"),
2021-04-08 16:34:21 +00:00
path('offers/', OffersListView.as_view(), name="offers"),
2021-03-23 18:23:04 +00:00
]