Minor fix for duration tag.
[audio.git] / src / apiclient / settings.py
1 from django.conf import settings
2
3
4 WL_CONSUMER_KEY = getattr(settings, 'APICLIENT_WL_CONSUMER_KEY', None)
5 WL_CONSUMER_SECRET = getattr(settings, 'APICLIENT_WL_CONSUMER_SECRET', None)
6
7 WL_API_URL = getattr(settings, 'APICLIENT_WL_API_URL', 'https://wolnelektury.pl/api/')
8
9 WL_REQUEST_TOKEN_URL = getattr(settings, 'APICLIENT_WL_REQUEST_TOKEN_URL',
10         WL_API_URL + 'oauth/request_token/')
11 WL_ACCESS_TOKEN_URL = getattr(settings, 'APICLIENT_WL_ACCESS_TOKEN_URL',
12         WL_API_URL + 'oauth/access_token/')
13 WL_AUTHORIZE_URL = getattr(settings, 'APICLIENT_WL_AUTHORIZE_URL',
14         WL_API_URL + 'oauth/authorize/')
15
16
17 YOUTUBE_SCOPE = [
18     'https://www.googleapis.com/auth/youtube',
19 ]
20 YOUTUBE_AUTH_URL = 'https://accounts.google.com/o/oauth2/auth'
21 YOUTUBE_TOKEN_URL = 'https://oauth2.googleapis.com/token'
22 YOUTUBE_CLIENT_ID = getattr(settings, 'YOUTUBE_CLIENT_ID', None)
23 YOUTUBE_CLIENT_SECRET = getattr(settings, 'YOUTUBE_CLIENT_SECRET', None)
24