Removed dependency of template loaders on Django settings.