File: __init__.py

package info (click to toggle)
django-cas-server 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,532 kB
  • sloc: python: 6,027; makefile: 272; xml: 100; javascript: 92; sh: 17
file content (22 lines) | stat: -rw-r--r-- 817 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 version 3 for
# more details.
#
# You should have received a copy of the GNU General Public License version 3
# along with this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# (c) 2015-2016 Valentin Samir
"""A django CAS server application"""
try:
    import django
except ModuleNotFoundError:
    django = None

#: version of the application
VERSION = '2.1.0'

if django is None or django.VERSION < (3, 2):
    #: path the the application configuration class
    default_app_config = 'cas_server.apps.CasAppConfig'