8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-27 07:02:26 +00:00

New place for local preferences

This commit is contained in:
Gabriel Detraz 2020-04-22 18:59:04 +02:00
parent 648eb223ee
commit 6ca39663d6

View file

@ -121,9 +121,9 @@ def display_options(request):
optionnal_apps = [import_module(app) for app in OPTIONNAL_APPS_RE2O] optionnal_apps = [import_module(app) for app in OPTIONNAL_APPS_RE2O]
optionnal_templates_list = [ optionnal_templates_list = [
app.views.preferences(request) app.preferences.views.aff_preferences(request)
for app in optionnal_apps for app in optionnal_apps
if hasattr(app.views, "preferences") if hasattr(app.preferences.views, "aff_preferences")
] ]
return form( return form(