Fixed the way settings were imported in context_processor and cleaned up imports in render.