Name openslides_personal_settings.py and openslides_global_settings.oy
This commit is contained in:
parent
32cfa6c914
commit
6d1c356ffd
@ -28,7 +28,7 @@ from django.core.management import execute_from_command_line
|
|||||||
CONFIG_TEMPLATE = """#!/usr/bin/env python
|
CONFIG_TEMPLATE = """#!/usr/bin/env python
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from openslides.openslides_settings import *
|
from openslides.openslides_global_settings import *
|
||||||
|
|
||||||
# Use 'DEBUG = True' to get more details for server errors
|
# Use 'DEBUG = True' to get more details for server errors
|
||||||
# (Default for relaeses: 'False')
|
# (Default for relaeses: 'False')
|
||||||
@ -98,7 +98,7 @@ def main(argv=None):
|
|||||||
|
|
||||||
# Find the path to the settings
|
# Find the path to the settings
|
||||||
settings = opts.settings or \
|
settings = opts.settings or \
|
||||||
os.path.join(os.path.expanduser('~'),'.openslides','settings.py')
|
os.path.join(os.path.expanduser('~'),'.openslides','openslides_personal_settings.py')
|
||||||
|
|
||||||
# Create settings if necessary
|
# Create settings if necessary
|
||||||
if not os.path.exists(settings):
|
if not os.path.exists(settings):
|
||||||
|
0
openslides/openslides_settings.py → openslides/openslides_global_settings.py
Executable file → Normal file
0
openslides/openslides_settings.py → openslides/openslides_global_settings.py
Executable file → Normal file
Loading…
Reference in New Issue
Block a user