Skip to content

Commit

Permalink
Merge pull request #22 from gorserg/add_question_view
Browse files Browse the repository at this point in the history
add question views
  • Loading branch information
kroman0 committed Jul 18, 2016
2 parents e3bb3a9 + ca72c66 commit 26db10e
Showing 1 changed file with 24 additions and 0 deletions.
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 """

0 comments on commit 26db10e

Please sign in to comment.