TimSimmons / cs373-idb

A Django app hosted on Heroku with Python and Twitter Bootstrap that emulates IMDB to track Major League Baseball.
0 stars 2 forks source link

Client-side API page #109

Closed clare-coleman closed 10 years ago

clare-coleman commented 10 years ago

client-side API page.

Squab commented 10 years ago

Alex: Yes, Django is single threaded, so if you're trying to make requests inside of another request, it's just going to error out.

You'll need to do this client side - eg render a page that then uses JS to make the request(s) to your API.