X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/6d48dc65380f540f4471e5c890fcf27b2a240374..a802a933f53625f732e9d3807b4162e770c8aaf1:/apps/apiclient/settings.py?ds=sidebyside diff --git a/apps/apiclient/settings.py b/apps/apiclient/settings.py index f1eb34a4..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://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/')