Remove IP address from client_id - PRIVACY

This commit is contained in:
Darko Poljak 2014-06-18 21:59:09 +02:00
parent 9bde544fa6
commit 4b3b403345

View file

@ -63,7 +63,8 @@ def complete_survey(request, pk):
if not existing_answers:
break
time.sleep(0.001)
client_id = '{}@{}'.format(client_id, utils.get_client_ip(request))
# remove ip address from client_id - PRIVACY
# client_id = '{}@{}'.format(client_id, utils.get_client_ip(request))
client_answers = []
# parse, validate and collect answers
# if survey is inactive questions is empty list (see above)