Skip to content

Commit

Permalink
Merge pull request #9 from davidkell/main
Browse files Browse the repository at this point in the history
Inherit from TurboFormMixin in CBVs
  • Loading branch information
danjac committed Aug 20, 2021
2 parents 395a7ab + 39f7473 commit a29613f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/turbo_response/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from . import Action
from .mixins import (
TurboFormMixin,
TurboFormModelMixin,
TurboFrameResponseMixin,
TurboFrameTemplateResponseMixin,
TurboStreamFormMixin,
Expand Down Expand Up @@ -43,11 +42,11 @@ class TurboFormView(TurboFormMixin, FormView):
...


class TurboCreateView(TurboFormModelMixin, CreateView):
class TurboCreateView(TurboFormMixin, CreateView):
...


class TurboUpdateView(TurboFormModelMixin, UpdateView):
class TurboUpdateView(TurboFormMixin, UpdateView):
...


Expand Down

0 comments on commit a29613f

Please sign in to comment.