workout-movement-counting
workout-movement-counting copied to clipboard
ImportError: cannot import name 'render_to_response'
Any idea on how to solve this error? I tried on both windows and linux but same results. Went online and some suggested that it may be the version of django installed. FYI: I wasn't able to install the requirements through the command line so I did it manually via pip install. Any help is appreciated, I am currently working on a similar project.
File "/home/jy/workout-movement-counting/WorkoutApp/workout_page/views.py", line 1, in <module>
from django.shortcuts import render, render_to_response, redirect
ImportError: cannot import name 'render_to_response'