Debian Codegraph @

cas_server/apps.py

raw
1 # This program is distributed in the hope that it will be useful, but WITHOUT
2 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
3 # FOR A PARTICULAR PURPOSE. See the GNU General Public License version 3 for
4 # more details.
5 #
6 # You should have received a copy of the GNU General Public License version 3
7 # along with this program; if not, write to the Free Software Foundation, Inc., 51
8 # Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
9 #
10 # (c) 2015-2020 Valentin Samir
11 """django config module"""
12 from django.apps import AppConfig
13
14 import sys
15 if sys.version_info < (3, ):
16 from django.utils.translation import ugettext_lazy as _
17 else:
18 from django.utils.translation import gettext_lazy as _
19
20
21 class CasAppConfig(AppConfig):
22 """
23 Bases: :class:`django.apps.AppConfig`
24
25 django CAS application config class
26 """
27 #: Full Python path to the application. It must be unique across a Django project.
28 name = 'cas_server'
29 #: Human-readable name for the application.
30 verbose_name = _('Central Authentication Service')