mirror of
https://github.com/Hopiu/django-fobi.git
synced 2026-05-10 13:54:41 +00:00
settings.py pep8
This commit is contained in:
parent
358c1dd683
commit
09bb39f2f2
2 changed files with 10 additions and 8 deletions
2
examples/simple/runserver-bootstrap3-theme-django-1-10.sh
Executable file
2
examples/simple/runserver-bootstrap3-theme-django-1-10.sh
Executable 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
|
||||
|
|
@ -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 *****************************
|
||||
|
|
|
|||
Loading…
Reference in a new issue