<s> from django . conf import settings <EOL> from django . template import Library <EOL> from . . utils import get_oauth_handler , get_gravatar_url <EOL> register = Library ( ) <EOL> @ register . simple_tag <EOL> def github_auth_url ( ) : <EOL> oauth_handler = get_oauth_handler ( ) <EOL> return oauth_handler . authorize_url ( settings . GITHUB [ '<STR_LIT>' ] ) <EOL> @ register . simple_tag <EOL> def gravatar_url ( email , size ) : <EOL> return get_gravatar_url ( email , size ) </s>
