Removed an unwanted print

This commit is contained in:
PCoder 2017-09-13 06:35:07 +05:30
parent ee5150dc6e
commit 94a5987985

View file

@ -485,7 +485,6 @@ class SSHKeyCreateView(LoginRequiredMixin, FormView):
return HttpResponseRedirect(self.success_url) return HttpResponseRedirect(self.success_url)
def post(self, request, *args, **kwargs): def post(self, request, *args, **kwargs):
print(self.request.POST.dict())
form = self.get_form() form = self.get_form()
required = 'add_ssh' in self.request.POST required = 'add_ssh' in self.request.POST
form.fields['name'].required = required form.fields['name'].required = required