From e9cb303b0917e0e966a070882d4aded8d554e5ec Mon Sep 17 00:00:00 2001 From: PCoder Date: Mon, 22 Oct 2018 22:39:13 +0200 Subject: [PATCH] Use correct django-multisite version We had multiple versions of django-multisite in the requirements.txt. This commit removes the wrong version that caused server not to start with an error File "/usr/local/lib/python3.5/site-packages/django/contrib/sites/models.py" in get_current 65. return self._get_site_by_id(site_id) File "/usr/local/lib/python3.5/site-packages/django/contrib/sites/models.py" in _get_site_by_id 37. return SITE_CACHE[site_id] File "/usr/local/lib/python3.5/site-packages/multisite/hacks.py" in __getitem__ 124. raise KeyError(key) --- requirements.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4646c6c9..a14617a9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -34,7 +34,6 @@ django-meta==1.2 django-meta-mixin==0.3.0 django-model-utils==2.5 django-mptt==0.8.4 -django-multisite==1.4.1 django-parler==1.6.3 django-phonenumber-field==1.1.0 django-polymorphic==0.9.2