Password change view uses database at declaration time
File "/home/nik/Teckids/schul-frei/Entwicklung/AlekSIS/AlekSIS/apps/official/AlekSIS-Core/aleksis/core/urls.py", line 17, in <module> from . import views File "/home/nik/Teckids/schul-frei/Entwicklung/AlekSIS/AlekSIS/apps/official/AlekSIS-Core/aleksis/core/views.py", line 1103, in <module> class CustomPasswordChangeView(PermissionRequiredMixin, PasswordChangeView): File "/home/nik/Teckids/schul-frei/Entwicklung/AlekSIS/AlekSIS/apps/official/AlekSIS-Core/aleksis/core/views.py", line 1108, in CustomPasswordChangeView if get_site_preferences()["auth__allow_password_change"]: