Skip to content

Commit

Permalink
Change base model of create view
Browse files Browse the repository at this point in the history
  • Loading branch information
amickan committed Dec 9, 2024
1 parent a40168b commit dd6b92c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/grandchallenge/algorithms/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
Algorithm,
AlgorithmAlgorithmInterface,
AlgorithmImage,
AlgorithmInterface,
AlgorithmModel,
AlgorithmPermissionRequest,
Job,
Expand Down Expand Up @@ -1115,7 +1116,7 @@ def dispatch(self, request, *args, **kwargs):
class AlgorithmInterfaceForAlgorithmCreate(
AlgorithmInterfacePermissionMixin, CreateView
):
model = AlgorithmAlgorithmInterface
model = AlgorithmInterface
form_class = AlgorithmInterfaceGetOrCreateForm
success_message = "Algorithm interface successfully added"

Expand Down

0 comments on commit dd6b92c

Please sign in to comment.