From e3f86696809ee11e3a3d555c03e90f0ef1753e71 Mon Sep 17 00:00:00 2001 From: Matt Sowden <549624+resba@users.noreply.github.com> Date: Wed, 11 Sep 2024 22:09:00 -0400 Subject: [PATCH] Update settings.py --- ply/settings.py | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/ply/settings.py b/ply/settings.py index f0d9dc5..473a1fc 100644 --- a/ply/settings.py +++ b/ply/settings.py @@ -365,24 +365,10 @@ "media.gallery.core", "ufls.registrar" ] -PLY_DASHBOARD_MODES = [ - "world_forge", - "user", - "staff" -] -PLY_WORLDFORGE_DASHBOARD_MODULES = [ - "communities.community", - "ufls.event", - "ufls.registrar", - "communities.stream" - "communities.stream", - "communities.dashboards", - "media.gallery.core", - "ufls.staff" -] -PLY_STAFF_DASHBOARD_MODULES = [ - "ufls.staff" -] +PLY_DASHBOARD_MODES = config('MIDSUMMER_DASHBOARD_MODES', cast=Csv()) +PLY_WORLDFORGE_DASHBOARD_MODULES = config('MIDSUMMER_WORLDFORGE_DASHBOARD_MODULES',cast=Csv()) +PLY_STAFF_DASHBOARD_MODULES = config('MIDSUMMER_STAFF_DASHBOARD_MODULES',cast=Csv()) + PLY_GALLERY_PLUGINS = [ "media.gallery.images" ] @@ -482,4 +468,4 @@ # of sampled transactions. # We recommend adjusting this value in production. profiles_sample_rate=1.0, -) \ No newline at end of file +)