mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-06 07:09:56 +02:00
Blacked the code
This commit is contained in:
parent
b6fc0051fa
commit
62ca3bd736
279 changed files with 8861 additions and 9527 deletions
|
@ -3,20 +3,20 @@ from dynamic_preferences.registries import global_preferences_registry
|
|||
|
||||
from funkwhale_api.common import preferences
|
||||
|
||||
subsonic = types.Section('subsonic')
|
||||
subsonic = types.Section("subsonic")
|
||||
|
||||
|
||||
@global_preferences_registry.register
|
||||
class APIAutenticationRequired(types.BooleanPreference):
|
||||
section = subsonic
|
||||
show_in_api = True
|
||||
name = 'enabled'
|
||||
name = "enabled"
|
||||
default = True
|
||||
verbose_name = 'Enabled Subsonic API'
|
||||
verbose_name = "Enabled Subsonic API"
|
||||
help_text = (
|
||||
'Funkwhale supports a subset of the Subsonic API, that makes '
|
||||
'it compatible with existing clients such as DSub for Android '
|
||||
'or Clementine for desktop. However, Subsonic protocol is less '
|
||||
'than ideal in terms of security and you can disable this feature '
|
||||
'completely using this flag.'
|
||||
"Funkwhale supports a subset of the Subsonic API, that makes "
|
||||
"it compatible with existing clients such as DSub for Android "
|
||||
"or Clementine for desktop. However, Subsonic protocol is less "
|
||||
"than ideal in terms of security and you can disable this feature "
|
||||
"completely using this flag."
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue