Models

This package contains all data models of Integreat Compass. Please refer to django.db.models for general information about Django models.

Abstract Base Model

class integreat_compass.cms.models.abstract_base_model.AbstractBaseModel(*args, **kwargs)

Bases: Model

Abstract base class for all models

classmethod get_model_name_plural()

Get the plural representation of this model name

Returns:

The plural model name

Return type:

str

get_repr()

Returns the canonical string representation of the content object

To be implemented in the inheriting model