Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
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-2016 Valentin Samir
11"""django config module"""
12from django.apps import AppConfig
14import sys
15if sys.version_info < (3, ): 15 ↛ 16line 15 didn't jump to line 16, because the condition on line 15 was never true
16 from django.utils.translation import ugettext_lazy as _
17else:
18 from django.utils.translation import gettext_lazy as _
21class CasAppConfig(AppConfig):
22 """
23 Bases: :class:`django.apps.AppConfig`
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')