PEP8 cleanups.
This commit is contained in:
@@ -9,7 +9,11 @@ from smart_settings import Namespace
|
||||
namespace = Namespace(name='common', label=_('Common'))
|
||||
setting_temporary_directory = namespace.add_setting(
|
||||
global_name='COMMON_TEMPORARY_DIRECTORY', default=tempfile.gettempdir(),
|
||||
help_text=_('Temporary directory used site wide to store thumbnails, previews and temporary files. If none is specified, one will be created using tempfile.mkdtemp()'),
|
||||
help_text=_(
|
||||
'Temporary directory used site wide to store thumbnails, previews '
|
||||
'and temporary files. If none is specified, one will be created '
|
||||
'using tempfile.mkdtemp()'
|
||||
),
|
||||
is_path=True
|
||||
)
|
||||
setting_shared_storage = namespace.add_setting(
|
||||
@@ -20,5 +24,7 @@ setting_shared_storage = namespace.add_setting(
|
||||
setting_paginate_by = namespace.add_setting(
|
||||
global_name='COMMON_PAGINATE_BY',
|
||||
default=40,
|
||||
help_text=_('An integer specifying how many objects should be displayed per page.')
|
||||
help_text=_(
|
||||
'An integer specifying how many objects should be displayed per page.'
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user