settings.py pep8

This commit is contained in:
Artur Barseghyan 2016-09-19 22:24:18 +02:00
parent 358c1dd683
commit 09bb39f2f2
2 changed files with 10 additions and 8 deletions

View file

@ -0,0 +1,2 @@
#workon fobi
./manage.py runserver 0.0.0.0:8000 --traceback -v 3 --settings=settings_bootstrap3_theme_django_1_10 --traceback -v 3

View file

@ -1,22 +1,25 @@
"""
- `RESTRICT_PLUGIN_ACCESS` (bool): If set to True, (Django) permission system
for fobi plugins is enabled.
- `FORM_ELEMENT_PLUGINS_MODULE_NAME` (str): Name of the module to placed in
- `FORM_ELEMENT_PLUGINS_MODULE_NAME` (str): Name of the module to placed in
the (external) apps in which the fobi form element plugin code should be
implemented and registered.
- `FORM_HANDLER_PLUGINS_MODULE_NAME` (str): Name of the module to placed in
- `FORM_HANDLER_PLUGINS_MODULE_NAME` (str): Name of the module to placed in
the (external) apps in which the fobi form handler plugin code should be
implemented and registered.
- `FORM_CALLBACKS_MODULE_NAME` (str): Name of the module to placed in the
- `FORM_CALLBACKS_MODULE_NAME` (str): Name of the module to placed in the
(external) apps in which the fobi form callback code should be implemented
and registered.
- `FORM_HANDLER_PLUGINS_EXECUTION_ORDER` (tuple): Order in which the form
- `FORM_HANDLER_PLUGINS_EXECUTION_ORDER` (tuple): Order in which the form
handler plugins are to be executed.
- `DEBUG`
"""
from .conf import get_setting
from .exceptions import NoDefaultThemeSet
__title__ = 'fobi.settings'
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__copyright__ = 'Copyright (c) 2014 Artur Barseghyan'
__copyright__ = '2014-2016 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = (
'RESTRICT_PLUGIN_ACCESS', 'FORM_ELEMENT_PLUGINS_MODULE_NAME',
@ -35,9 +38,6 @@ __all__ = (
'WAIT_BETWEEN_TEST_STEPS', 'WAIT_AT_TEST_END',
)
from fobi.conf import get_setting
from fobi.exceptions import NoDefaultThemeSet
# **************************************************************
# **************************************************************
# *************************** Core *****************************