Added clean_username function to validate form.
This commit is contained in:
@@ -60,7 +60,6 @@ class ExplorerProfileUpdateView(IsAuthenticatedMixin, View):
|
||||
explorer_change_form = ExplorerChangeForm(request.POST, instance=request.user.explorer)
|
||||
|
||||
if explorer_change_form.is_valid() and explorer_user_change_form.is_valid():
|
||||
print(explorer_user_change_form)
|
||||
explorer_user_change_form.save()
|
||||
explorer_change_form.save()
|
||||
|
||||
|
Reference in New Issue
Block a user