3d4cc41
use just once during upgradedb otherwise frontend's request processing is out of application context From docs: Setting a SERVER_NAME also by default enables URL generation without a request context but with an application context.