apis_core.apis_relations package

Subpackages

Submodules

apis_core.apis_relations.admin module

apis_core.apis_relations.apps module

class apis_core.apis_relations.apps.RelationsConfig(app_name, app_module)[source]

Bases: AppConfig

default_auto_field = 'django.db.models.AutoField'
name = 'apis_core.apis_relations'
ready()[source]

Override this method in subclasses to run code when Django starts.

apis_core.apis_relations.filters module

class apis_core.apis_relations.filters.PropertyChoiceField(*args, **kwargs)[source]

Bases: ModelChoiceField

label_from_instance(obj)[source]

Convert objects into strings and generate the labels for the choices presented by this object. Subclasses can override this method to customize the display of the choices.

class apis_core.apis_relations.filters.PropertyFilter(*args, **kwargs)[source]

Bases: ModelChoiceFilter

A child of ModelChoiceFilter that only works with Properties, but in return it filters those so that only the Properties are listed that can be connected to the model given as argument.

field_class

alias of PropertyChoiceField

filter(queryset, value)[source]
apis_core.apis_relations.filters.related_entity(queryset, name, value)[source]

apis_core.apis_relations.filtersets module

apis_core.apis_relations.forms module

apis_core.apis_relations.models module

apis_core.apis_relations.signals module

apis_core.apis_relations.tables module

apis_core.apis_relations.urls module

apis_core.apis_relations.utils module

apis_core.apis_relations.views module