Skip to content

Commit

Permalink
Merge pull request #335 from angusholder/patch-1
Browse files Browse the repository at this point in the history
Avoid importing `django.test` in main code
  • Loading branch information
giovannicimolin authored May 7, 2024
2 parents 65c8ffd + 7d21736 commit 88de7b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion knox/settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from datetime import timedelta

from django.conf import settings
from django.test.signals import setting_changed
from django.core.signals import setting_changed
from rest_framework.settings import APISettings, api_settings

USER_SETTINGS = getattr(settings, 'REST_KNOX', None)
Expand Down

0 comments on commit 88de7b4

Please sign in to comment.