236 reputation
bio website
visits member for 3 years, 11 months
seen Mar 24 at 17:44

comment 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...
comment 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.