moviegeek icon indicating copy to clipboard operation
moviegeek copied to clipboard

Fix errors

Open ozanpekmezci opened this issue 6 years ago • 1 comments

user_id in the Cluster model is an integer field and user_id of Ratings is a char field. That's why when you try to visit a page of cluster (for example http://localhost:8000/analytics/cluster/3/) Django was throwing an error because the code was comparing integers and strings. Now, integer list is converted to a string list first and strings are compared to strings.

ozanpekmezci avatar Nov 21 '18 15:11 ozanpekmezci

Thank you for your pullrequest.

The nlkt should be there. So that is good.

The clustering view in Django is working fine in my version. So I will investigate it in more detail before merging.

kimfalk avatar Nov 28 '18 09:11 kimfalk