| 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-2025 Valentin Samir |
| 11 |
"""A django CAS server application""" |
| 12 |
try: |
| 13 |
import django |
| 14 |
except ModuleNotFoundError: |
| 15 |
django = None |
| 16 |
|
| 17 |
#: version of the application |
| 18 |
VERSION = '3.1.0' |
| 19 |
|
| 20 |
if django is None or django.VERSION < (3, 2): |
| 21 |
#: path the the application configuration class |
| 22 |
default_app_config = 'cas_server.apps.CasAppConfig' |