add generated to list of editable files

This commit is contained in:
Ronny Abraham 2019-06-02 22:52:21 +03:00
parent 8ae7324ea3
commit dd797c3a77

View file

@ -645,6 +645,11 @@ def edit(param='help'):
django_path=django_path, django_path=django_path,
project_branch=project_branch) project_branch=project_branch)
settings_generated_path = "{django_path}/_settings/" \
"{project_branch}_generated.py".format(
django_path=django_path,
project_branch=project_branch)
file_debug_handler = configuration.logging.django.handlers.file_debug file_debug_handler = configuration.logging.django.handlers.file_debug
# locations = ['gunicorn', 'gunicorn_link', 'gunicorn_build', # locations = ['gunicorn', 'gunicorn_link', 'gunicorn_build',
@ -680,6 +685,11 @@ def edit(param='help'):
'desc': 'local settings file for django project', 'desc': 'local settings file for django project',
}, },
'generated': {
'path': settings_generated_path,
'desc': 'generated settings file for django project',
},
'server_log': { 'server_log': {
'path': file_debug_handler.path.server, 'path': file_debug_handler.path.server,
'desc': 'django server log - handler name: %s' % 'desc': 'django server log - handler name: %s' %