diff --git a/README.md b/README.md index 270d5f4..cb68cc2 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,7 @@ datasource: sudo virtualenv venv sudo source venv/bin/activate git pull -pip install -U -r requirements.txt +pip install -U -r conf/requirements.txt python manage.py migrate sudo service supervisor restart ``` diff --git a/conf/requirements.txt b/conf/requirements.txt index b8b30ed..c47d4dc 100644 --- a/conf/requirements.txt +++ b/conf/requirements.txt @@ -1,5 +1,5 @@ Django==1.11.14 websockify==0.8.0 gunicorn==19.9.0 -libvirt-python==3.1.0 -lxml==4.2.3 \ No newline at end of file +lxml==4.2.3 +libvirt-python==4.4.0 \ No newline at end of file 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