X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/fdd62169ba22c4c1be2f2306b5339eadd74ffb6d..7276c049867c5002199692b27850982293005e5d:/apps/apiclient/settings.py diff --git a/apps/apiclient/settings.py b/apps/apiclient/settings.py index 5fbf18ee..78abe24c 100755 --- a/apps/apiclient/settings.py +++ b/apps/apiclient/settings.py @@ -1,15 +1,12 @@ +# -*- coding: utf-8 -*- from django.conf import settings WL_CONSUMER_KEY = getattr(settings, 'APICLIENT_WL_CONSUMER_KEY', None) WL_CONSUMER_SECRET = getattr(settings, 'APICLIENT_WL_CONSUMER_SECRET', None) -WL_API_URL = getattr(settings, 'APICLIENT_WL_API_URL', - 'http://www.wolnelektury.pl/api/') +WL_API_URL = getattr(settings, 'APICLIENT_WL_API_URL', 'http://edukacjamedialna.edu.pl/api/') -WL_REQUEST_TOKEN_URL = getattr(settings, 'APICLIENT_WL_REQUEST_TOKEN_URL', - WL_API_URL + 'oauth/request_token/') -WL_ACCESS_TOKEN_URL = getattr(settings, 'APICLIENT_WL_ACCESS_TOKEN_URL', - WL_API_URL + 'oauth/access_token/') -WL_AUTHORIZE_URL = getattr(settings, 'APICLIENT_WL_AUTHORIZE_URL', - WL_API_URL + 'oauth/authorize/') +WL_REQUEST_TOKEN_URL = getattr(settings, 'APICLIENT_WL_REQUEST_TOKEN_URL', WL_API_URL + 'oauth/request_token/') +WL_ACCESS_TOKEN_URL = getattr(settings, 'APICLIENT_WL_ACCESS_TOKEN_URL', WL_API_URL + 'oauth/access_token/') +WL_AUTHORIZE_URL = getattr(settings, 'APICLIENT_WL_AUTHORIZE_URL', WL_API_URL + 'oauth/authorize/')