From 32b03b71847ac92cf18adac04cf5e5fcea484f13 Mon Sep 17 00:00:00 2001 From: Bandic007 Date: Fri, 6 Jul 2018 17:26:57 +0300 Subject: [PATCH] adding new django version to update procedure, fixing missing deps --- conf/requirements.txt | 5 +++-- webvirtcloud/settings.py.template | 10 +++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/conf/requirements.txt b/conf/requirements.txt index e562fe4..d395575 100644 --- a/conf/requirements.txt +++ b/conf/requirements.txt @@ -1,5 +1,6 @@ Django==1.11.14 websockify==0.8.0 -gunicorn==19.3.0 -libvirt-python==3.10 +gunicorn==19.9.0 +libvirt-python==4.4.0 libxml2-python3==2.9.5 +lxml==4.2.3 diff --git a/webvirtcloud/settings.py.template b/webvirtcloud/settings.py.template index b7ba1ea..ffee758 100644 --- a/webvirtcloud/settings.py.template +++ b/webvirtcloud/settings.py.template @@ -83,7 +83,15 @@ TEMPLATES = [ 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [ os.path.join(BASE_DIR, 'templates'), ], 'APP_DIRS': True, - } + 'OPTIONS': { + 'context_processors': [ + 'django.template.context_processors.debug', + 'django.template.context_processors.request', + 'django.contrib.auth.context_processors.auth', + 'django.contrib.messages.context_processors.messages', + ], + }, + }, ] ## WebVirtCloud settings