From 1efb7a65c162220518eb568a46dc822f5b1ee9a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 12 Jan 2018 13:47:37 +0100 Subject: [PATCH] add appconfig to declare connector URLs (#21150) --- passerelle_montpellier_sig/__init__.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/passerelle_montpellier_sig/__init__.py b/passerelle_montpellier_sig/__init__.py index e69de29..e8bb390 100644 --- a/passerelle_montpellier_sig/__init__.py +++ b/passerelle_montpellier_sig/__init__.py @@ -0,0 +1,26 @@ +# passerelle-montpellier-sig +# Copyright (C) 2015-2018 Entr'ouvert +# +# This program is free software: you can redistribute it and/or modify it +# under the terms of the GNU Affero General Public License as published +# by the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +import django.apps + +class AppConfig(django.apps.AppConfig): + name = 'passerelle_montpellier_sig' + + def get_urls(self): + from . import urls + return urls.urlpatterns + +default_app_config = 'passerelle_montpellier_sig.AppConfig'