JourneyJoker/auction/urls.py

18 lines
No EOL
966 B
Python

from django.urls import path
from frontend.views import HomeView
from .views import InquiryCreateView, InquiryProcessView, InquiryPaymentView, OfferSelectionView, OfferSelectionTableView, BiddingListView, OfferCreationView
app_name = "auction"
urlpatterns = [
path('create_inquiry/', InquiryCreateView.as_view(), name="create_inquiry"),
path('process_inquiry/<slug:uuid>/', InquiryProcessView.as_view(), name="process_inquiry"),
path('create_payment/<slug:uuid>/', InquiryPaymentView.as_view(), name="inquiry_payment"),
path('offers/<slug:uuid>/', OfferSelectionView.as_view(), name="offer_selection"),
path('offers/<slug:uuid>/table.js', OfferSelectionTableView.as_view(), name="offer_table"),
path('bidding/<int:id>/', BiddingListView.as_view(), name="bidding"),
path('bidding/<int:establishment>/<slug:inquiry>/', OfferCreationView.as_view(), name="offer_create"),
path('bidding/', BiddingListView.as_view(), name="bidding"),
]