hasadna / Open-Knesset

A project aimed at making the Israeli Knesset more transparent. Python and Django based
http://oknesset.org/
BSD 3-Clause "New" or "Revised" License
106 stars 175 forks source link

follow/unfollow error (input should be validated and probably some other problems) #697

Open alonisser opened 8 years ago

alonisser commented 8 years ago

https://opbeat.com/hasadna/openknesset-prod/errors/213/?utm_source=system&utm_medium=email&utm_campaign=errorgroup-created

OriHoch commented 8 years ago

Exception: DoesNotExist - Follow matching query does not exist. Module actstream.models Location django/db/models/query.py, get:310

originating from user/views.py in user_follow_unfollow line 192: content_type=content_type, object_id=target_id).delete()