Skip to content

Commit

Permalink
Declare abstract method in abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
tut-tuuut committed Apr 14, 2022
1 parent c35dc21 commit 11df410
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aidants_connect_habilitation/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ def setup(self, request, *args, **kwargs):


class OnlyNewRequestsView(HabilitationStepMixin, LateStageRequestView):
@property
def step(self) -> HabilitationFormStep:
raise NotImplementedError()

def dispatch(self, request, *args, **kwargs):
if not self.issuer.email_verified:
# Duplicate logic of VerifiedEmailIssuerView
Expand Down

0 comments on commit 11df410

Please sign in to comment.