Models#
The database models used in GewässerCampus can be differentiated into
two categories: gcampus.core and gcampus.auth. The first includes functionality
that is fundamental to GewässerCampus such as the
gcampus.core.models.Measurement
and
gcampus.core.models.Water
model. The later contains all models
that are required for authentication.
Contents
Common Models and Utilities#
- class gcampus.core.models.util.DateModelMixin(*args, **kwargs)#
Bases:
Model
Base model class to add the common fields required by nearly all models throughout the project.
- created_at#
Date and time of when the instance has been created.
- updated_at#
Date and time of when the instance has been last updated.