add appconfig to declare connector URLs (#21150)

This commit is contained in:
Frédéric Péters 2018-01-12 13:47:37 +01:00
parent 0058d36cfc
commit 1efb7a65c1
1 changed files with 26 additions and 0 deletions

View File

@ -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 <http://www.gnu.org/licenses/>.
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'