-
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 #22 from gorserg/add_question_view
add question views
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
openprocurement/tender/competitivedialogue/views/stage2/question.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,24 @@ | ||
# -*- coding: utf-8 -*- | ||
from openprocurement.api.utils import opresource | ||
from openprocurement.tender.openua.views.question import TenderUaQuestionResource | ||
from openprocurement.tender.openeu.views.question import TenderQuestionResource as TenderEUQuestionResource | ||
from openprocurement.tender.competitivedialogue.models import STAGE_2_EU_TYPE, STAGE_2_UA_TYPE | ||
|
||
|
||
@opresource(name='Competitive Dialogue Stage 2 EU Questions', | ||
collection_path='/tenders/{tender_id}/questions', | ||
path='/tenders/{tender_id}/questions/{question_id}', | ||
procurementMethodType=STAGE_2_EU_TYPE, | ||
description="Competitive Dialogue Stage 2 EU questions") | ||
class CompetitiveDialogueStage2EUQuestionResource(TenderEUQuestionResource): | ||
""" Competitive Dialogue Stage 2 EU Questions """ | ||
|
||
|
||
@opresource(name='Competitive Dialogue Stage 2 UA Questions', | ||
collection_path='/tenders/{tender_id}/questions', | ||
path='/tenders/{tender_id}/questions/{question_id}', | ||
procurementMethodType=STAGE_2_UA_TYPE, | ||
description="Competitive Dialogue Stage 2 UA questions") | ||
class CompetitiveDialogueStage2UAQuestionResource(TenderUaQuestionResource): | ||
""" Competitive Dialogue Stage 2 UA Questions """ | ||
|