Skip to content

Commit

Permalink
fix(views): fix typo on class attribute name
Browse files Browse the repository at this point in the history
  • Loading branch information
sepehr-akbarzadeh committed Oct 30, 2024
1 parent 68758ff commit 602fb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sage_newsletter/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_context_data(self, **kwargs):
else:
self.object = None
context = super().get_context_data(**kwargs)
context[self.newsletter_form_context_object] = self.form_class()
context[self.newsletter_form_context_object] = self.newsletter_form_class()
return context

def post(self, request, *args, **kwargs):
Expand Down

0 comments on commit 602fb8c

Please sign in to comment.