This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#288 Potentially reduce tight coupling of events models
Make changes to events models that *might* help make it feasible to swap out the fundamental model types like `EventType` and `Occurrence` with custom versions in a project. This is just a first step and the feasibility of actually making swappable models needs to be tested, proved, and documented. - use string references for `ForeignKey` relationships so the actual implementation can be overridden with custom versions in a project (perhaps) - create abstract base classes for `EventType`, `EventRepeatsGenerator`, `Occurrence` with the core implementation, with the idea these models can be subclassed and customised in a project.
- Loading branch information
Showing
1 changed file
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters