TT#43813 define AppConfig for every app as Django 1.11 recommends

> https://docs.djangoproject.com/en/1.11/ref/applications/

Change-Id: I7a26b42af05a5403048f0348003a743b93ffe273
changes/15/38715/2
Victor Seva 5 years ago
parent 9b591bf435
commit bb6e85c650
No known key found for this signature in database
GPG Key ID: B1589889727198E0

@ -0,0 +1,19 @@
# Copyright (C) 2020 The Sipwise Team - http://sipwise.com
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU 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 General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
from django.apps import AppConfig
class HotfixConfig(AppConfig):
name = "hotfix"

@ -0,0 +1,19 @@
# Copyright (C) 2020 The Sipwise Team - http://sipwise.com
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU 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 General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
from django.apps import AppConfig
class PanelConfig(AppConfig):
name = "panel"

@ -0,0 +1,19 @@
# Copyright (C) 2020 The Sipwise Team - http://sipwise.com
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU 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 General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
from django.apps import AppConfig
class ReleaseDashboardConfig(AppConfig):
name = "release_dashboard"

@ -0,0 +1,19 @@
# Copyright (C) 2020 The Sipwise Team - http://sipwise.com
#
# This program is free software: you can redistribute it and/or modify it
# under the terms of the GNU 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 General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
from django.apps import AppConfig
class RepoAPIConfig(AppConfig):
name = "repoapi"

@ -36,11 +36,11 @@ INSTALLED_APPS = [
"django_filters",
"jsonify",
"export",
"repoapi",
"hotfix",
"panel",
"release_dashboard",
"build",
"repoapi.apps.RepoAPIConfig",
"hotfix.apps.HotfixConfig",
"panel.apps.PanelConfig",
"release_dashboard.apps.ReleaseDashboardConfig",
"build.apps.ReleaseConfig",
]
MIDDLEWARE_CLASSES = (

Loading…
Cancel
Save