Anpassungen für das Hosting bei Djangoeurope und damit verbundenen Versionen Django 1.8 und Python 2.7

This commit is contained in:
Christian Berg
2015-08-05 18:55:48 +02:00
committed by Christian Berg
parent cb4b15b3c6
commit b96b485b61
1354 changed files with 7289 additions and 6858 deletions

View File

@@ -0,0 +1,24 @@
"""
Global Settings for the Maistar Ranking System
Created on 22.11.2014
@author: christian
"""
from datetime import date
from django.conf import settings
AUTH_USER_MODEL = settings.AUTH_USER_MODEL
MAISTAR_GAMES_FOR_LADDERRANKING = getattr(
settings, 'MAISTAR_GAMES_FOR_LADDERRANKING', 6
)
MAISTAR_SEASON_START = getattr(
settings, 'MAISTAR_SEASON_START', date(year=1, month=8, day=1)
)