schematools.contrib.django.managers module

class schematools.contrib.django.managers.DatasetIterable(*args, **kwargs)

Bases: ModelIterable

__init__(*args, **kwargs)
class schematools.contrib.django.managers.DatasetQuerySet(*args, **kwargs)

Bases: QuerySet

Extra ORM methods for the Dataset model.

All datasets that were retrieved with the same queryset are linked together, so they can resolve relations between each other.

__init__(*args, **kwargs)
api_enabled()

Return only datasets that should get an API.

db_enabled()

Return all datasets for which models should be created.

endpoint_enabled()

Return the datasets where data is retrieved from remote API’s.