Note

This is a public alpha release, and therefore features and functionality may change and the software and documentation may contain technical bugs or other issues. If you discover any issues please consider registering a GitHub issue.

core.models module

This module contains models for functionality common to both Application and DataSource models.

class core.models.BaseAppDataModel(*args, **kwargs)[source]

Bases: django.db.models.base.Model

The parent class of the Application and DataSource models - providing common functionality.

This class is an abstract model and will not create a corresponding DB table.

class Meta[source]

Bases: object

abstract = False
description

A brief description

get_absolute_url()[source]

Return URL at which this object may be viewed.

Method must be implemented by inheriting classes.

name

Friendly name of this application

owner

User responsible for this data source / application.

core.models.MAX_LENGTH_NAME = 63

Length of CharFields used to hold the names of objects

class core.models.SoftDeletionManager[source]

Bases: django.db.models.manager.Manager

Manager for soft-deletable objects. Filters out objects which have is_deleted set.

get_queryset()[source]

Return a new QuerySet object. Subclasses can override this method to customize the behavior of the Manager.