from datetime import timedelta from celery.schedules import crontab DEBUG=True SECRET_KEY="super-secret" SQLALCHEMY_DATABASE_URI="postgres://wot:wot@192.168.1.47/wot" OPENID_FS_STORE_PATH="tmp" WG_REDIRECT_URL="http://wot.anzhiganov.com/token" WG_APPLICATION_ID="502910c1c785c3c7ca2e83c9e89bde02" # WG_OPENID_URL=https://eu.wargaming.net/id/openid/ WG_OPENID_URL="https://wargaming.net/id/openid/" WG_TOKEN_URL="https://api.worldoftanks.ru/wot/auth/login/" # Celery configuration CELERY_BROKER_URL = 'redis://192.168.1.47:6379/4' CELERY_RESULT_BACKEND = 'redis://192.168.1.47:6379/4' #CELERYBEAT_SCHEDULE = { # 'wotstats.tasks.hello': { # 'task': 'wotstats.tasks.hello', # # 'schedule': timedelta(seconds=3) # 'schedule': crontab(minute="*") # }, #}