Denormalized audio permission logic in a separate table to enhance performance
This commit is contained in:
parent
afbf7151c8
commit
4e7f1e63d2
17 changed files with 648 additions and 21 deletions
|
|
@ -851,7 +851,9 @@ MUSIC_DIRECTORY_PATH = env("MUSIC_DIRECTORY_PATH", default=None)
|
|||
MUSIC_DIRECTORY_SERVE_PATH = env(
|
||||
"MUSIC_DIRECTORY_SERVE_PATH", default=MUSIC_DIRECTORY_PATH
|
||||
)
|
||||
|
||||
# When this is set to default=True, we need to reenable migration music/0042
|
||||
# to ensure data is populated correctly on existing pods
|
||||
MUSIC_USE_DENORMALIZATION = env.bool("MUSIC_USE_DENORMALIZATION", default=False)
|
||||
USERS_INVITATION_EXPIRATION_DAYS = env.int(
|
||||
"USERS_INVITATION_EXPIRATION_DAYS", default=14
|
||||
)
|
||||
|
|
|
|||
|
|
@ -41,6 +41,22 @@ DEBUG_TOOLBAR_CONFIG = {
|
|||
"SHOW_TOOLBAR_CALLBACK": lambda request: True,
|
||||
"JQUERY_URL": "/staticfiles/admin/js/vendor/jquery/jquery.js",
|
||||
}
|
||||
# DEBUG_TOOLBAR_PANELS = [
|
||||
# 'debug_toolbar.panels.versions.VersionsPanel',
|
||||
# 'debug_toolbar.panels.timer.TimerPanel',
|
||||
# 'debug_toolbar.panels.settings.SettingsPanel',
|
||||
# 'debug_toolbar.panels.headers.HeadersPanel',
|
||||
# 'debug_toolbar.panels.request.RequestPanel',
|
||||
# 'debug_toolbar.panels.sql.SQLPanel',
|
||||
# 'debug_toolbar.panels.staticfiles.StaticFilesPanel',
|
||||
# 'debug_toolbar.panels.templates.TemplatesPanel',
|
||||
# 'debug_toolbar.panels.cache.CachePanel',
|
||||
# 'debug_toolbar.panels.signals.SignalsPanel',
|
||||
# 'debug_toolbar.panels.logging.LoggingPanel',
|
||||
# 'debug_toolbar.panels.redirects.RedirectsPanel',
|
||||
# 'debug_toolbar.panels.profiling.ProfilingPanel',
|
||||
# 'debug_toolbar_line_profiler.panel.ProfilingPanel'
|
||||
# ]
|
||||
|
||||
# django-extensions
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue