ayushgoel1610/IP_occupancy — pull request #1 by digvijay91 (2014-08-25 17:44:40+00:00)
Title: Token from file + Minor Query Change

Hi,
I have changed the code to read the token from a file instead of making a query for a new token each time.
This (apart from saving time) also help alleviate an error which could have occurred. If a two queries come one after another, then one would generate token and then proceed to use that token. If in between those two steps, the other query generated a new token, the previous query would incur an error.

Generate a token with you username/password. Put it in a file named "token" inside the same folder as webApp/views.py

The token file you should NOT add to the github repo, and should exists only on your system.