Skip to content

Commit

Permalink
Remove unused "type: ignore"
Browse files Browse the repository at this point in the history
  • Loading branch information
epicserve committed Jul 20, 2024
1 parent 31f4dbf commit a6e978d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class NameChange(LoginRequiredMixin, generic.FormView): # type: ignore

def get_form_kwargs(self):
kwargs = super().get_form_kwargs()
kwargs["instance"] = User.objects.get(pk=self.request.user.pk) # type: ignore
kwargs["instance"] = User.objects.get(pk=self.request.user.pk)
return kwargs

def form_valid(self, form):
Expand Down

0 comments on commit a6e978d

Please sign in to comment.