This commit is contained in:
cmile 2018-10-04 08:42:58 +02:00
parent 3160f5e696
commit 3dcd65d7de
2 changed files with 14 additions and 13 deletions

View file

@ -136,7 +136,6 @@ def set_hash_field(request, form_type, in_field, out_field, hash_func,
form = form_type(request.POST)
if form.is_valid():
hashed_value = hash_func(form.cleaned_data[in_field])
print('hashed value: ', hashed_value)
member.set(out_field, hashed_value)
member.save()
new_form = form_type(initial=initial)