Skip to content

Commit

Permalink
Merge pull request #21 from gorserg/add_tender_document_view
Browse files Browse the repository at this point in the history
add tender document views
  • Loading branch information
kroman0 committed Jul 18, 2016
2 parents ffb6e59 + 5f01a1e commit e3bb3a9
Showing 1 changed file with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- coding: utf-8 -*-
from openprocurement.api.utils import opresource
from openprocurement.tender.openeu.views.tender_document import TenderEUDocumentResource
from openprocurement.tender.openua.views.tender_document import TenderUaDocumentResource
from openprocurement.tender.competitivedialogue.models import STAGE_2_UA_TYPE, STAGE_2_EU_TYPE


@opresource(name='Competitive Dialogue Stage 2 EU Documents',
collection_path='/tenders/{tender_id}/documents',
path='/tenders/{tender_id}/documents/{document_id}',
procurementMethodType=STAGE_2_EU_TYPE,
description="Competitive Dialogue Stage 2 EU related binary files (PDFs, etc.)")
class CompetitiveDialogueStage2EUDocumentResource(TenderEUDocumentResource):
pass


@opresource(name='Competitive Dialogue Stage 2 UA Documents',
collection_path='/tenders/{tender_id}/documents',
path='/tenders/{tender_id}/documents/{document_id}',
procurementMethodType=STAGE_2_UA_TYPE,
description="Competitive Dialogue Stage 2 UA related binary files (PDFs, etc.)")
class CompetitiveDialogueStage2UADocumentResource(TenderUaDocumentResource):
pass

0 comments on commit e3bb3a9

Please sign in to comment.