-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add AlgorithmInterface model (#3720)
First PR for DIAGNijmegen/rse-roadmap#153 This adds the `AlgorithmInterface` model, as well as the necessary through table, and removes the inputs and outputs fields from the algorithm form. The following restrictions apply: - AlgorithmInterfaces cannot be deleted (protection on model level and admin form level) - AlgorithmInterfaces cannot be updated (protection on admin form level) - AlgorithmInterfaces are unique (i.e. input and output combinations are unique, we check for that in the form) - An algorithm can only have 1 default algorithm interface - There can only be one entry per algorithm and interface in the through table. --------- Co-authored-by: James Meakin <12661555+jmsmkn@users.noreply.github.com>
- Loading branch information
Showing
11 changed files
with
569 additions
and
134 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
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
Oops, something went wrong.