JourneyJoker/partners/urls.py
Klaus-Uwe Mitterer 88dbecec35 A few more views
Fixing inquiry processing view
2021-04-13 14:44:22 +02:00

19 lines
No EOL
1 KiB
Python

from django.urls import path, reverse_lazy
from django.views.generic import RedirectView
from .views import PartnerRegistrationView, PartnerProfileView, BiddingListView, OffersListView, EstablishmentsListView, EstablishmentRequestView, PartnerDashboardView
app_name = "partners"
urlpatterns = [
path('register/', PartnerRegistrationView.as_view(), name="register"),
path('profile/', PartnerProfileView.as_view(), name="profile"),
path('establishments/', EstablishmentsListView.as_view(), name="establishments"),
path('establishments/register/', EstablishmentRequestView.as_view(), name="establishment_register"),
path('bidding/<int:id>/', BiddingListView.as_view(), name="bidding"),
path('bidding/', BiddingListView.as_view(), name="bidding"),
path('offers/', OffersListView.as_view(), name="offers"),
path('dashboard/', PartnerDashboardView.as_view(), name="dashboard"),
path('bidding/', PartnerDashboardView.as_view(), name="bookings"),
path('', RedirectView.as_view(url=reverse_lazy("partners:dashboard"))),
]