From 6574532c16eb63491dbfc108df03054cccb76c32 Mon Sep 17 00:00:00 2001 From: "Ing. Jan KRCMAR" Date: Wed, 24 Jan 2018 09:25:58 +0100 Subject: [PATCH] webvirtcloud/settings.py -> webvirtcloud/settings.py.template ignore webvirtcloud/settings.py --- .gitignore | 1 + webvirtcloud/{settings.py => settings.py.template} | 11 ++++------- 2 files changed, 5 insertions(+), 7 deletions(-) rename webvirtcloud/{settings.py => settings.py.template} (92%) diff --git a/.gitignore b/.gitignore index 5b5e392..0772847 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ db.sqlite3* console/cert.pem* tags dhcpd.* +webvirtcloud/settings.py diff --git a/webvirtcloud/settings.py b/webvirtcloud/settings.py.template similarity index 92% rename from webvirtcloud/settings.py rename to webvirtcloud/settings.py.template index 7323d9a..8b0c6a7 100644 --- a/webvirtcloud/settings.py +++ b/webvirtcloud/settings.py.template @@ -6,7 +6,7 @@ Django settings for webvirtcloud project. import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) -SECRET_KEY = '4y(f4rfqc6f2!i8_vfuu)kav6tdv5#sc=n%o451dm+th0&3uci' +SECRET_KEY = '' DEBUG = True @@ -46,7 +46,7 @@ MIDDLEWARE_CLASSES = ( AUTHENTICATION_BACKENDS = ( #'django.contrib.auth.backends.RemoteUserBackend', - 'accounts.backends.MyRemoteUserBackend', + #'accounts.backends.MyRemoteUserBackend', ) LOGIN_URL = '/accounts/login' @@ -117,11 +117,8 @@ LIBVIRT_KEEPALIVE_INTERVAL = 5 LIBVIRT_KEEPALIVE_COUNT = 5 ALLOW_INSTANCE_MULTIPLE_OWNER = True -NEW_USER_DEFAULT_INSTANCES = [ - 'debian9-template', - 'kiv-adm-template', -] -CLONE_INSTANCE_DEFAULT_PREFIX = 'ourea' +NEW_USER_DEFAULT_INSTANCES = [] +CLONE_INSTANCE_DEFAULT_PREFIX = 'instance' LOGS_PER_PAGE = 100 QUOTA_DEBUG = True ALLOW_EMPTY_PASSWORD = True