Ejemplo n.º 1
0
def get_taxon_path(request):
    taxon_id = request.matchdict['id']

    taxons = Taxon.parent_taxons(taxon_id)
    path = [t.id for t in taxons]

    return {'success': True, 'path': path}
Ejemplo n.º 2
0
def get_taxon_path(request):
    taxon_id = request.matchdict['id']

    taxons = Taxon.parent_taxons(taxon_id)
    path = [t.id for t in taxons]

    return {'success': True, 'path': path}
Ejemplo n.º 3
0
def get_taxon(request):
    id = int(request.matchdict['id'])
    parent_taxons = Taxon.parent_taxons(id)
Ejemplo n.º 4
0
def get_taxon(request):
    id = int(request.matchdict['id'])
    parent_taxons = Taxon.parent_taxons(id)