canaille-globuzma/canaille/app/installation.py

12 lines
263 B
Python
Raw Permalink Normal View History

from canaille.backends import Backend
from canaille.oidc.installation import install as install_oidc
2021-11-08 17:09:05 +00:00
2021-11-14 17:58:26 +00:00
class InstallationException(Exception):
pass
2023-07-01 16:46:11 +00:00
def install(config, debug=False):
install_oidc(config, debug=debug)
Backend.instance.install(config)