fix lazy url in settings with Django 1.4