コード例 #1
0
ファイル: sector.py プロジェクト: CrashenX/akvo-rsr
 def iati_sector(self):
     if self.sector_code and (self.vocabulary == '1' or self.vocabulary == 'DAC'):
         return codelist_value(codelist_models.Sector, self, 'sector_code')
     elif self.sector_code and (self.vocabulary == '2' or self.vocabulary == 'DAC-3'):
         return codelist_value(codelist_models.SectorCategory, self, 'sector_code')
     else:
         return self.sector_code
コード例 #2
0
 def iati_reach(self):
     return codelist_value(GeographicLocationReach, self, 'location_reach')
コード例 #3
0
 def iati_category(self):
     return codelist_value(DocumentCategory, self, 'category')
コード例 #4
0
ファイル: location.py プロジェクト: CrashenX/akvo-rsr
 def iati_reach(self):
     return codelist_value(GeographicLocationReach, self, 'location_reach')
コード例 #5
0
ファイル: budget_item.py プロジェクト: CrashenX/akvo-rsr
 def iati_code(self):
     return codelist_value(BudgetIdentifier, self, 'code')
コード例 #6
0
ファイル: crs_add.py プロジェクト: wildmercury/akvo-rsr
 def iati_code(self):
     return codelist_value(CRSAddOtherFlags, self, 'code')
コード例 #7
0
 def iati_relation(self):
     return codelist_value(RelatedActivityType, self, 'relation')
コード例 #8
0
ファイル: crs_add.py プロジェクト: chitaha/akvo-rsr
 def iati_repayment_plan(self):
     return codelist_value(LoanRepaymentPeriod, self, 'repayment_plan')
コード例 #9
0
ファイル: indicator.py プロジェクト: CrashenX/akvo-rsr
 def iati_measure(self):
     return codelist_value(IndicatorMeasure, self, 'measure')
コード例 #10
0
ファイル: policy_marker.py プロジェクト: Ady1998/akvo-rsr
 def iati_vocabulary(self):
     return codelist_value(codelist_models.PolicyMarkerVocabulary, self,
                           'vocabulary')
コード例 #11
0
ファイル: policy_marker.py プロジェクト: Ady1998/akvo-rsr
 def iati_significance(self):
     return codelist_value(codelist_models.PolicySignificance, self,
                           'significance')
コード例 #12
0
ファイル: policy_marker.py プロジェクト: Ady1998/akvo-rsr
 def iati_policy_marker(self):
     return codelist_value(codelist_models.PolicyMarker, self,
                           'policy_marker')
コード例 #13
0
 def iati_vocabulary(self):
     return codelist_value(GeographicVocabulary, self, 'vocabulary')
コード例 #14
0
 def iati_designation(self):
     return codelist_value(LocationType, self, 'feature_designation')
コード例 #15
0
 def iati_class(self):
     return codelist_value(GeographicLocationClass, self, 'location_class')
コード例 #16
0
ファイル: crs_add.py プロジェクト: CrashenX/akvo-rsr
 def iati_repayment_type(self):
     return codelist_value(LoanRepaymentType, self, 'repayment_type')
コード例 #17
0
ファイル: crs_add.py プロジェクト: CrashenX/akvo-rsr
 def iati_currency(self):
     return codelist_value(Currency, self, 'loan_status_currency')
コード例 #18
0
ファイル: project_contact.py プロジェクト: zuhdil/akvo-rsr
 def iati_type(self):
     return codelist_value(ContactType, self, 'type')
コード例 #19
0
ファイル: crs_add.py プロジェクト: chitaha/akvo-rsr
 def iati_channel_code(self):
     return codelist_value(CRSChannelCode, self, 'channel_code')
コード例 #20
0
ファイル: transaction.py プロジェクト: punchagan/akvo-rsr
 def iati_aid_type(self):
     return codelist_value(AidType, self, 'aid_type')
コード例 #21
0
ファイル: project_condition.py プロジェクト: chitaha/akvo-rsr
 def iati_type(self):
     return codelist_value(ConditionType, self, 'type')
コード例 #22
0
ファイル: transaction.py プロジェクト: punchagan/akvo-rsr
 def iati_finance_type(self):
     return codelist_value(FinanceType, self, 'finance_type')
コード例 #23
0
ファイル: budget_item.py プロジェクト: CrashenX/akvo-rsr
 def iati_type(self):
     return codelist_value(BudgetType, self, 'type')
コード例 #24
0
ファイル: transaction.py プロジェクト: punchagan/akvo-rsr
 def iati_flow_type(self):
     return codelist_value(FlowType, self, 'flow_type')
コード例 #25
0
ファイル: sector.py プロジェクト: CrashenX/akvo-rsr
 def iati_vocabulary(self):
     return codelist_value(codelist_models.SectorVocabulary, self, 'vocabulary')
コード例 #26
0
ファイル: transaction.py プロジェクト: punchagan/akvo-rsr
 def iati_tied_status(self):
     return codelist_value(TiedStatus, self, 'tied_status')
コード例 #27
0
ファイル: location.py プロジェクト: CrashenX/akvo-rsr
 def iati_designation(self):
     return codelist_value(LocationType, self, 'feature_designation')
コード例 #28
0
 def iati_vocabulary(self):
     return codelist_value(IndicatorVocabulary, self, 'vocabulary')
コード例 #29
0
 def iati_title_language(self):
     return codelist_value(Language, self, 'title_language')
コード例 #30
0
ファイル: humanitarian_scope.py プロジェクト: zuhdil/akvo-rsr
 def iati_type(self):
     return codelist_value(HumanitarianScopeType, self, 'type')
コード例 #31
0
ファイル: budget_item.py プロジェクト: ronna/akvo-rsr
 def iati_code(self):
     return codelist_value(BudgetIdentifier, self, 'code')
コード例 #32
0
ファイル: humanitarian_scope.py プロジェクト: zuhdil/akvo-rsr
 def iati_vocabulary(self):
     return codelist_value(HumanitarianScopeVocabulary, self, 'vocabulary')
コード例 #33
0
ファイル: crs_add.py プロジェクト: CrashenX/akvo-rsr
 def iati_repayment_plan(self):
     return codelist_value(LoanRepaymentPeriod, self, 'repayment_plan')
コード例 #34
0
 def iati_region(self):
     return codelist_value(Region, self, 'region')
コード例 #35
0
ファイル: crs_add.py プロジェクト: CrashenX/akvo-rsr
 def iati_code(self):
     return codelist_value(CRSAddOtherFlags, self, 'code')
コード例 #36
0
 def iati_vocabulary(self):
     return codelist_value(RegionVocabulary, self, 'region_vocabulary')
コード例 #37
0
ファイル: crs_add.py プロジェクト: chitaha/akvo-rsr
 def iati_currency(self):
     return codelist_value(Currency, self, 'loan_status_currency')
コード例 #38
0
 def iati_vocabulary(self):
     return codelist_value(IndicatorVocabulary, self, 'vocabulary')
コード例 #39
0
ファイル: fss.py プロジェクト: nagyist/akvo-rsr
 def iati_currency(self):
     return codelist_value(Currency, self, 'currency')
コード例 #40
0
ファイル: transaction.py プロジェクト: CrashenX/akvo-rsr
 def iati_transaction_type(self):
     return codelist_value(TransactionType, self, 'transaction_type')
コード例 #41
0
 def iati_vocabulary(self):
     return codelist_value(codelist_models.SectorVocabulary, self, 'vocabulary')
コード例 #42
0
ファイル: transaction.py プロジェクト: CrashenX/akvo-rsr
 def iati_disbursement_channel(self):
     return codelist_value(DisbursementChannel, self, 'disbursement_channel')
コード例 #43
0
 def iati_type(self):
     return codelist_value(ResultType, self, 'type')
コード例 #44
0
ファイル: transaction.py プロジェクト: CrashenX/akvo-rsr
 def iati_recipient_country(self):
     return codelist_value(Country, self, 'recipient_country')
コード例 #45
0
ファイル: crs_add.py プロジェクト: wildmercury/akvo-rsr
 def iati_repayment_type(self):
     return codelist_value(LoanRepaymentType, self, 'repayment_type')
コード例 #46
0
ファイル: transaction.py プロジェクト: CrashenX/akvo-rsr
 def iati_recipient_region(self):
     return codelist_value(Region, self, 'recipient_region')
コード例 #47
0
ファイル: budget_item.py プロジェクト: CrashenX/akvo-rsr
 def iati_currency(self):
     return codelist_value(Currency, self, 'currency')
コード例 #48
0
ファイル: transaction.py プロジェクト: CrashenX/akvo-rsr
 def iati_recipient_region_vocabulary(self):
     return codelist_value(RegionVocabulary, self, 'recipient_region_vocabulary')
コード例 #49
0
 def iati_language(self):
     return codelist_value(Language, self, 'language')
コード例 #50
0
 def iati_category(self):
     return codelist_value(DocumentCategory, self, 'category')
コード例 #51
0
ファイル: location.py プロジェクト: CrashenX/akvo-rsr
 def iati_exactness(self):
     return codelist_value(GeographicExactness, self, 'exactness')
コード例 #52
0
 def iati_country(self):
     return codelist_value(Country, self, 'country')
コード例 #53
0
ファイル: location.py プロジェクト: CrashenX/akvo-rsr
 def iati_class(self):
     return codelist_value(GeographicLocationClass, self, 'location_class')
コード例 #54
0
ファイル: budget_item.py プロジェクト: ronna/akvo-rsr
 def iati_type(self):
     return codelist_value(BudgetType, self, 'type')
コード例 #55
0
ファイル: location.py プロジェクト: CrashenX/akvo-rsr
 def iati_vocabulary(self):
     return codelist_value(GeographicVocabulary, self, 'vocabulary')
コード例 #56
0
ファイル: budget_item.py プロジェクト: ronna/akvo-rsr
 def iati_currency(self):
     if self.currency:
         return codelist_value(Currency, self, 'currency')
     else:
         return codelist_value(Currency, self.project, 'currency')
コード例 #57
0
 def iati_format(self):
     return codelist_value(FileFormat, self, 'format')
コード例 #58
0
ファイル: budget_item.py プロジェクト: ronna/akvo-rsr
 def iati_status(self):
     return codelist_value(BudgetStatus, self, 'status')
コード例 #59
0
 def iati_country(self):
     return codelist_value(codelist_models.Country, self, 'country')
コード例 #60
0
 def iati_exactness(self):
     return codelist_value(GeographicExactness, self, 'exactness')