pangea.contrib.taxasearch package
Submodules
pangea.contrib.taxasearch.admin module
pangea.contrib.taxasearch.apps module
-
class
pangea.contrib.taxasearch.apps.
TaxaSearchConfig
(app_name, app_module)[source]
Bases: django.apps.config.AppConfig
-
name
= 'taxasearch'
pangea.contrib.taxasearch.models module
pangea.contrib.taxasearch.tests module
-
class
pangea.contrib.taxasearch.tests.
TaxaSearchTests
(methodName='runTest')[source]
Bases: rest_framework.test.APITestCase
-
classmethod
setUpTestData
()[source]
Load initial data for the TestCase.
-
test_detailed_match
()[source]
Check that a detailed query returns appropriatelylimited results.
-
test_fuzzy_match
()[source]
Check that a detailed query returns appropriatelylimited results.
-
test_include_metadata
()[source]
Check that a detailed query returns appropriatelylimited results.
pangea.contrib.taxasearch.urls module
-
pangea.contrib.taxasearch.urls.
path
(route, view, kwargs=None, name=None, *, Pattern=<class 'django.urls.resolvers.RoutePattern'>)
pangea.contrib.taxasearch.views module
-
pangea.contrib.taxasearch.views.
fuzzy_taxa_search
(self, request, *args, **kwargs)[source]
Return samples with taxa results that fuzzy match the query.
Module contents