1👍
✅
Like @bruno said Django views must return HttpResponse.
To do that I simply had to wrap my return statement around an HttpResponse so it looked like this:
return HttpResponse(map(str, soup.find_all('a', href = re.compile('.getJobInfo'))))
- [Django]-Django AMQP error
- [Django]-OAuth web service and Django-piston
- [Django]-Python: Where to put external packages?
- [Django]-Django Query : how do I find the maximum time duration from start and end time fields?
- [Django]-Deploying Django, supervisorctl abnormal termination
Source:stackexchange.com