Module ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias Expr Str Expr Str FunctionDef arguments args NameParam defaults body Assign NameStore Str If CompareEq AttributeLoad NameLoad attr Num body Assign NameStore Str If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Str BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr attr Return BinOpMod Str Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list
N/A django.conf settings N/A base64 N/A hashlib N/A hmac N/A time N/A json N/A logging N/A 
  Commenting out DisqusAPI for current integration, 
  but for future features, like 'top comments', will need to install discus-python
  ref: https://github.com/disqus/disqus-python/blob/master/README.rst
 N/A 
    returns a user params json object base-64 encoded then hmac'd with our private API key (settings.DISQUS_SECRET_KEY)
    the disqus plugin requires this to exist on the integrating page as a JS var named 'remote_auth_s3'
    ref: http://docs.disqus.com/developers/sso/
    data obj 
    {
        id - any unique user ID number associated with that account within your user database. This will be used to generate a unique username to reference in the Disqus system.
        username - The displayed name for that account
        email - The registered email address for that account
        avatar (optional) - A link to that user's avatar
        url (optional) - A link to the user's website
    }
 get_sso_auth N/A N/A user N/A N/A N/A devprefix N/A N/A N/A settings DISQUS_DEV_MODE 1 N/A N/A devprefix dev_ N/A N/A user N/A N/A user is_authenticated N/A N/A data N/A N/A json dumps N/A id username email avatar url N/A %s%s N/A devprefix N/A user id N/A user get_name N/A user email N/A user get_image_small N/A http://%s%s N/A N/A settings HTTP_HOST N/A user get_url N/A N/A data N/A N/A json dumps N/A N/A message N/A N/A base64 b64encode data N/A timestamp N/A int N/A N/A time time N/A sig N/A N/A N/A N/A hmac HMAC N/A settings DISQUS_SECRET_KEY N/A %s %s N/A message timestamp N/A hashlib sha1 hexdigest N/A N/A %(message)s %(sig)s %(timestamp)s N/A dict message message timestamp timestamp sig sig N/A