Source

django-oauthclient / oauthclient / settings.py

Full commit
1
2
3
4
5
6
7
8
9
from django.conf import settings

CONSUMER_KEY_SIZE = getattr(settings, 'OAUTHCLIENT_CONSUMER_KEY_SIZE', 18)
CONSUMER_SECRET_SIZE = getattr(settings, 'OAUTHCLIENT_CONSUMER_SECRET_SIZE', 32)
REDIRECT_AFTER_LOGIN = getattr(settings, 'OAUTHCLIENT_REDIRECT_AFTER_LOGIN', None)
REDIRECT_AFTER_LOGOUT = getattr(settings, 'OAUTHCLIENT_REDIRECT_AFTER_LOGOUT', None)
LOGIN_TEMPLATE = getattr(settings, 'OAUTHCLIENT_LOGIN_TEMPLATE', 'login.html')
LOGOUT_TEMPLATE = getattr(settings, 'OAUTHCLIENT_LOGOUT_TEMPLATE', 'logout.html')
ERROR_TEMPLATE = getattr(settings, 'OAUTHCLIENT_ERROR_TEMPLATE', 'error.html')