Skip to content

Commit 862cb7a

Browse files
Move signal import to django.core (#1357)
* Move signal import to django.core * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update CHANGELOG.md and AUTHORS --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent a30001f commit 862cb7a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Adam Johnson
1212
Adam Zahradník
1313
Adheeth P Praveen
1414
Alan Crosswell
15+
Alan Rominger
1516
Alejandro Mantecon Guillen
1617
Aleksander Vaskevich
1718
Alessandro De Angelis

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3232
* #1284 Allow to logout with no id_token_hint even if the browser session already expired
3333
* #1296 Added reverse function in migration 0006_alter_application_client_secret
3434
* #1336 Fix encapsulation for Redirect URI scheme validation
35+
* #1357 Move import of setting_changed signal from test to django core modules
3536

3637
### Removed
3738
* #1350 Remove support for Python 3.7 and Django 2.2

oauth2_provider/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
from django.conf import settings
2020
from django.core.exceptions import ImproperlyConfigured
21+
from django.core.signals import setting_changed
2122
from django.http import HttpRequest
22-
from django.test.signals import setting_changed
2323
from django.urls import reverse
2424
from django.utils.module_loading import import_string
2525
from oauthlib.common import Request

0 commit comments

Comments
 (0)