mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-24 15:15:22 +00:00
webvirtcloud/settings.py -> webvirtcloud/settings.py.template
ignore webvirtcloud/settings.py
This commit is contained in:
parent
b0e489abe7
commit
6574532c16
2 changed files with 5 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,3 +7,4 @@ db.sqlite3*
|
||||||
console/cert.pem*
|
console/cert.pem*
|
||||||
tags
|
tags
|
||||||
dhcpd.*
|
dhcpd.*
|
||||||
|
webvirtcloud/settings.py
|
||||||
|
|
|
@ -6,7 +6,7 @@ Django settings for webvirtcloud project.
|
||||||
import os
|
import os
|
||||||
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
|
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
|
DEBUG = True
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ MIDDLEWARE_CLASSES = (
|
||||||
|
|
||||||
AUTHENTICATION_BACKENDS = (
|
AUTHENTICATION_BACKENDS = (
|
||||||
#'django.contrib.auth.backends.RemoteUserBackend',
|
#'django.contrib.auth.backends.RemoteUserBackend',
|
||||||
'accounts.backends.MyRemoteUserBackend',
|
#'accounts.backends.MyRemoteUserBackend',
|
||||||
)
|
)
|
||||||
|
|
||||||
LOGIN_URL = '/accounts/login'
|
LOGIN_URL = '/accounts/login'
|
||||||
|
@ -117,11 +117,8 @@ LIBVIRT_KEEPALIVE_INTERVAL = 5
|
||||||
LIBVIRT_KEEPALIVE_COUNT = 5
|
LIBVIRT_KEEPALIVE_COUNT = 5
|
||||||
|
|
||||||
ALLOW_INSTANCE_MULTIPLE_OWNER = True
|
ALLOW_INSTANCE_MULTIPLE_OWNER = True
|
||||||
NEW_USER_DEFAULT_INSTANCES = [
|
NEW_USER_DEFAULT_INSTANCES = []
|
||||||
'debian9-template',
|
CLONE_INSTANCE_DEFAULT_PREFIX = 'instance'
|
||||||
'kiv-adm-template',
|
|
||||||
]
|
|
||||||
CLONE_INSTANCE_DEFAULT_PREFIX = 'ourea'
|
|
||||||
LOGS_PER_PAGE = 100
|
LOGS_PER_PAGE = 100
|
||||||
QUOTA_DEBUG = True
|
QUOTA_DEBUG = True
|
||||||
ALLOW_EMPTY_PASSWORD = True
|
ALLOW_EMPTY_PASSWORD = True
|
Loading…
Reference in a new issue