Fix copypasta
This commit is contained in:
parent
c15de35a54
commit
fbfbc0feeb
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class AdminEditView(BackendFormView):
|
||||||
|
|
||||||
def get_form_kwargs(self):
|
def get_form_kwargs(self):
|
||||||
kwargs = super().get_form_kwargs()
|
kwargs = super().get_form_kwargs()
|
||||||
kwargs.update({'current_email': ClientProfile.objects.get(id=self.kwargs["pk"]).user.username})
|
kwargs.update({'current_email': AdminProfile.objects.get(id=self.kwargs["pk"]).user.username})
|
||||||
return kwargs
|
return kwargs
|
||||||
|
|
||||||
def get_initial(self):
|
def get_initial(self):
|
||||||
|
|
Loading…
Reference in a new issue