Skip to content

Commit 8fc584b

Browse files
committed
Removed usage of set/get current strategy methods
1 parent 71412fc commit 8fc584b

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased](https://github.com/python-social-auth/social-app-django-mongoengine/commits/master)
99

10+
### Changed
11+
- Removed usage of set/get current strategy methods
12+
1013
## [0.2.0](https://github.com/python-social-auth/social-app-django/releases/tag/0.2.0) - 2016-12-28
1114

1215
### Changed

social_django_mongoengine/config.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
from django.apps import AppConfig
22

3-
from social_core.utils import set_current_strategy_getter
43
from .utils import load_strategy
54

65

76
class PythonSocialAuthConfig(AppConfig):
87
name = 'social'
98
label = 'social_auth'
109
verbose_name = 'Python Social Auth'
11-
12-
def ready(self):
13-
"""Set strategy loader method to workaround current strategy getter
14-
needed on get_user() method on authentication backends when working
15-
with Django"""
16-
set_current_strategy_getter(load_strategy)

0 commit comments

Comments
 (0)