-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from gorserg/add_action_view
add auction views
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
openprocurement/tender/competitivedialogue/views/stage2/auction.py
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# -*- coding: utf-8 -*- | ||
from openprocurement.api.utils import ( | ||
opresource, | ||
) | ||
from openprocurement.tender.openua.views.auction import TenderUaAuctionResource | ||
from openprocurement.tender.openeu.views.auction import TenderAuctionResource as TenderEUAuctionResource | ||
from openprocurement.tender.competitivedialogue.models import STAGE_2_EU_TYPE, STAGE_2_UA_TYPE | ||
|
||
|
||
@opresource(name='Competitive Dialogue Stage 2 EU Auction', | ||
collection_path='/tenders/{tender_id}/auction', | ||
path='/tenders/{tender_id}/auction/{auction_lot_id}', | ||
procurementMethodType=STAGE_2_EU_TYPE, | ||
description="Competitive Dialogue Stage 2 EU auction data") | ||
class CompetitiveDialogueStage2EUAuctionResource(TenderEUAuctionResource): | ||
""" Auctions resource """ | ||
|
||
|
||
@opresource(name='Competitive Dialogue Stage 2 UA Auction', | ||
collection_path='/tenders/{tender_id}/auction', | ||
path='/tenders/{tender_id}/auction/{auction_lot_id}', | ||
procurementMethodType=STAGE_2_UA_TYPE, | ||
description="Competitive Dialogue Stage 2 UA auction data") | ||
class CompetitiveDialogueStage2UAAuctionResource(TenderUaAuctionResource): | ||
""" Auctions resource """ |