canaille-globuzma/canaille/app/installation.py

12 lines
281 B
Python
Raw Normal View History

2023-06-05 16:10:37 +00:00
from canaille.backends import BaseBackend
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)
BaseBackend.get().install(config, debug=debug)