Exemplo n.º 1
0
 def feature_properties(self, ctx, req, feature):
     res = GeoJsonLanguages.feature_properties(self, ctx, req, feature)
     res['recipient'] = 'y' if feature.vocabulary_pk else 'n'
     return res
Exemplo n.º 2
0
 def feature_properties(self, ctx, req, feature):
     res = GeoJsonLanguages.feature_properties(self, ctx, req, feature)
     res['recipient'] = 'y' if feature.vocabulary_pk else 'n'
     return res