Created
November 19, 2010 05:06
-
-
Save andrewxhill/706141 to your computer and use it in GitHub Desktop.
First implementation of a taxonomy model for the Map of Life project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Species(db.Model): | |
authority = db.TextProperty() | |
classification = db.TextProperty() | |
names = db.TextProperty() | |
class SpeciesIndex(db.Model): | |
names = db.StringListProperty() | |
authorityName = db.StringProperty() | |
kingdom = db.StringProperty() | |
phylum = db.StringProperty() | |
class_ = db.StringProperty() | |
order_ = db.StringProperty() | |
superFamily = db.StringProperty() | |
family = db.StringProperty() | |
genus = db.StringProperty() | |
species = db.StringProperty() | |
infraSpecies = db.StringProperty() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment