Core Models¶
-
class
fyt.db.models.TripsYear(*args, **kwargs)[source]¶ Global config object. Each year of trips has one such object.
All other db objects point to their years’ TripsYear.
TODO: validate that there is only one object with is_current=True
Parameters: - year (PositiveIntegerField) – Year
- is_current (BooleanField) – Is current