1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2024-12-27 18:02:25 +00:00
nk20-scripts/apps.py
2020-04-26 01:19:19 +02:00

14 lines
360 B
Python

# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
from django.apps import AppConfig
from django.core.signals import got_request_exception
class ScriptsConfig(AppConfig):
name = 'scripts'
def ready(self):
from . import signals
got_request_exception.connect(signals.send_mail_on_exception)