Skip to content

Commit

Permalink
Move signal import to django.core (#1357)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
AlanCoding and pre-commit-ci[bot] authored Nov 11, 2023
1 parent a30001f commit 862cb7a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Adam Johnson
Adam Zahradník
Adheeth P Praveen
Alan Crosswell
Alan Rominger
Alejandro Mantecon Guillen
Aleksander Vaskevich
Alessandro De Angelis
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* #1284 Allow to logout with no id_token_hint even if the browser session already expired
* #1296 Added reverse function in migration 0006_alter_application_client_secret
* #1336 Fix encapsulation for Redirect URI scheme validation
* #1357 Move import of setting_changed signal from test to django core modules

### Removed
* #1350 Remove support for Python 3.7 and Django 2.2
Expand Down
2 changes: 1 addition & 1 deletion oauth2_provider/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

from django.conf import settings
from django.core.exceptions import ImproperlyConfigured
from django.core.signals import setting_changed
from django.http import HttpRequest
from django.test.signals import setting_changed
from django.urls import reverse
from django.utils.module_loading import import_string
from oauthlib.common import Request
Expand Down

0 comments on commit 862cb7a

Please sign in to comment.