In Django 1.6 must calls set_urlconf(None) so that changes of settings.ROOT_URLCONF works.