I've just started using python-twitter with django hosted on OpenShift and need to use Oauth. At the moment it's just on the dev server. Before I put it live, I was wondering if there's a "best" place to store my token / secret info? Right now I just have them in my views.py file but would it be safer to store them in settings.py and access them from there?
Many other libraries ask you to put your API Keys in settings.py, this is also useful if you want to use them in different  application within your project.
python-twitter - best location for Oauth keys in Django?