JourneyJoker/partners/urls.py
Klaus-Uwe Mitterer 41d71d313f Preparing a bunch of views for partners
Adding superior ratings
Use Nominatim for location lookups
Implement hotel registration
2021-04-11 16:19:43 +02:00

15 lines
No EOL
752 B
Python

from django.urls import path
from .views import PartnerRegistrationView, PartnerProfileView, BiddingListView, OffersListView, EstablishmentsListView, EstablishmentRequestView
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"),
]