8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-22 03:13:12 +00:00

New place for local preferences

This commit is contained in:
Gabriel Detraz 2020-04-22 18:59:04 +02:00
parent 9ea8808f75
commit cd46e77a03

View file

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