Skip to content

Commit

Permalink
Upgrade Python packages
Browse files Browse the repository at this point in the history
  • Loading branch information
epicserve committed Sep 10, 2023
1 parent d40adcb commit 6df61c9
Show file tree
Hide file tree
Showing 3 changed files with 181 additions and 310 deletions.
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(NameChange, self).get_form_kwargs()
kwargs["instance"] = User.objects.get(pk=self.request.user.pk)
kwargs["instance"] = User.objects.get(pk=self.request.user.pk) # type: ignore
return kwargs

def form_valid(self, form):
Expand Down
Loading

0 comments on commit 6df61c9

Please sign in to comment.