use relative URLs to survive change in context root (doh)
support optional STATIC_ROOT setting in settings.cfg