ENH: Sex fields as lookups (#55)

This commit is contained in:
Matthew Ryan Dillon 2018-03-03 12:10:17 -07:00 committed by GitHub
parent 4cd133f993
commit c52d4e736d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 182 additions and 9 deletions

View file

@ -35,6 +35,7 @@ router.register(r'sites', locations_viewsets.SiteViewSet)
router.register(r'study-locations', locations_viewsets.StudyLocationViewSet)
# Species
router.register(r'species', species_viewsets.SpeciesViewSet)
router.register(r'sexes', species_viewsets.SexViewSet)
router.register(r'collection-species',
species_viewsets.CollectionSpeciesViewSet)