|visits||member for||3 years, 7 months|
|seen||Dec 12 at 18:08|
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.