Next privilege 250 Rep.
View close votes
Next badge 0/1
~19k people reached
- 0 posts edited
- 0 helpful flags
- 16 votes cast
How do I list the files associated with a Python package installed using pip or easy_install?
works in most cases, but not if the package installs any command-line scripts, which would end up in usr/local/bin.... also, some packages may install multiple modules...
Different settings for secure & non-secure versions of Django site using WSGI
yep, it's no problem, yay Python. Efects may be a little unpredictable, since you're changing a global variable at run-time... So, for example, middleware that's run before your context processor might not pick up on the change, but since (I imagine) the things you want to affect are downstream (ie the template renderer, to show different urls for static files), it should work fine.