1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 15:45:23 +00:00

settings.py.template: add INSTALLED_APPS datasource, comment RemoteUserBackend, move SHOW_PROFILE_EDIT_PASSWORD

This commit is contained in:
Ing. Jan KRCMAR 2018-06-13 11:09:44 +02:00
parent 5f24d5d222
commit 956b321928

View file

@ -29,6 +29,7 @@ INSTALLED_APPS = (
'logs', 'logs',
'accounts', 'accounts',
'create', 'create',
'datasource',
) )
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
@ -44,6 +45,7 @@ MIDDLEWARE_CLASSES = (
AUTHENTICATION_BACKENDS = ( AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend', 'django.contrib.auth.backends.ModelBackend',
#'django.contrib.auth.backends.RemoteUserBackend',
#'accounts.backends.MyRemoteUserBackend', #'accounts.backends.MyRemoteUserBackend',
) )
@ -122,11 +124,11 @@ QUOTA_DEBUG = True
ALLOW_EMPTY_PASSWORD = True ALLOW_EMPTY_PASSWORD = True
SHOW_ACCESS_ROOT_PASSWORD = False SHOW_ACCESS_ROOT_PASSWORD = False
SHOW_ACCESS_SSH_KEYS = False SHOW_ACCESS_SSH_KEYS = False
SHOW_PROFILE_EDIT_PASSWORD = False
# available: default (grid), list # available: default (grid), list
VIEW_ACCOUNTS_STYLE = 'grid' VIEW_ACCOUNTS_STYLE = 'grid'
SHOW_PROFILE_EDIT_PASSWORD = False
INSTANCE_VOLUME_DEFAULT_FORMAT = 'qcow2' INSTANCE_VOLUME_DEFAULT_FORMAT = 'qcow2'
INSTANCE_VOLUME_DEFAULT_BUS = 'virtio' INSTANCE_VOLUME_DEFAULT_BUS = 'virtio'
INSTANCE_VOLUME_DEFAULT_CACHE = 'directsync' INSTANCE_VOLUME_DEFAULT_CACHE = 'directsync'