lyapizz / recommend-py Goto Github PK
View Code? Open in Web Editor NEWRecommendation system for choosing film based on Machine Learning and Python
Recommendation system for choosing film based on Machine Learning and Python
Feature request:
Remove rating for film.
Some films may have only one 5 star review and it will be considered as Top recommendation for everybody
Environment:
Request Method: POST
Request URL: https://secret-fjord-62055.herokuapp.com/ratings/7/158/
Django Version: 2.2.11
Python Version: 3.7.6
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'polls.apps.PollsConfig',
'registration',
'bootstrap3',
'star_ratings',
'fontawesome',
'social_django']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'polls.middleware.SocialAuthExceptionMiddleware']
Traceback:
File "/app/.heroku/python/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
34. response = get_response(request)
File "/app/.heroku/python/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)
File "/app/.heroku/python/lib/python3.7/site-packages/django/core/handlers/base.py" in process_exception_by_middleware
155. response = middleware_method(request, exception)
File "/app/polls/middleware.py" in process_exception
12. raise exception
File "/app/.heroku/python/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/app/.heroku/python/lib/python3.7/site-packages/django/views/generic/base.py" in view
71. return self.dispatch(request, *args, **kwargs)
File "/app/.heroku/python/lib/python3.7/site-packages/django/views/generic/base.py" in dispatch
97. return handler(request, *args, **kwargs)
File "/app/.heroku/python/lib/python3.7/site-packages/star_ratings/views.py" in post
58. return login_required(_post)(request, *args, **kwargs)
File "/app/.heroku/python/lib/python3.7/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
21. return view_func(request, *args, **kwargs)
File "/app/.heroku/python/lib/python3.7/site-packages/star_ratings/views.py" in _post
29. return_url = data.pop('next', '/')
File "/app/.heroku/python/lib/python3.7/site-packages/django/http/request.py" in pop
498. self._assert_mutable()
File "/app/.heroku/python/lib/python3.7/site-packages/django/http/request.py" in _assert_mutable
456. raise AttributeError("This QueryDict instance is immutable")
Exception Type: AttributeError at /ratings/7/158/
Exception Value: This QueryDict instance is immutable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.