Skip to content

angee.resources.models

Abstract source model for the resource import ledger.

Resource

python
class Resource(AngeeModel)

Ledger row linking source resource xrefs to imported targets.

Tier

Tier enum used by resource declarations and ledger rows.

source_addon

Dotted addon name that declared the source resource row.

source_path

Resource path or URL that supplied the source row.

tier

Tier selected when the source row was loaded.

xref

Addon-local external reference for the source row.

content_hash

Hash of model field values from the source row.

target_model

Django model label for the imported target row.

target_id

Public identifier for the imported target row.

loaded_at

Timestamp when the ledger row was last written.

objects

Manager with validate, load, and diff operations.

Meta

python
class Meta()

Django model options for the abstract resource ledger.

Released under the AGPL-3.0 License.