Allow custom media & static urls.
Deduce the media / static root from the url if it wasn't given.