From 5dd29bb09ec6156fc574f641ff2b0e4e664f8084 Mon Sep 17 00:00:00 2001 From: Arvind Tiwari Date: Mon, 9 Apr 2018 03:02:50 +0530 Subject: [PATCH] Update mixins.py --- hosting/mixins.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hosting/mixins.py b/hosting/mixins.py index 7ef05581..bd80fc32 100644 --- a/hosting/mixins.py +++ b/hosting/mixins.py @@ -32,12 +32,5 @@ class ProcessVMSelectionMixin(object): class HostingContextMixin(object): def get_context_data(self, **kwargs): context = super().get_context_data(**kwargs) - context['REDIRECT_TO_CMS'] = (Page - .objects - .filter(site_id=Site - .objects - .get_current() - .id) - .count()) context['MULTISITE_CMS_FALLBACK'] = settings.MULTISITE_CMS_FALLBACK return context