/usr/lib/python2.7/dist-packages/social/apps/django_app/me/config.py is in python-social-auth 1:0.2.21+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from django.apps import AppConfig
class PythonSocialAuthConfig(AppConfig):
name = 'social.apps.django_app.me'
verbose_name = 'Python Social Auth'
def ready(self):
from social.strategies.utils import set_current_strategy_getter
from social.apps.django_app.utils import load_strategy
# Set strategy loader method to workaround current strategy getter
# needed on get_user() method on authentication backends when working
# with Django
set_current_strategy_getter(load_strategy)
|