Skip to content

Commit

Permalink
Fix default_app_config deprecation
Browse files Browse the repository at this point in the history
Django 3.2 automatically detects AppConfig and therefore this setting is no longer required.

https://docs.djangoproject.com/en/dev/releases/3.2/#automatic-appconfig-discovery
  • Loading branch information
nikolaik committed Jun 7, 2021
1 parent c890b70 commit ac75ebe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rest_framework_simplejwt/token_blacklist/__init__.py
@@ -1 +1,4 @@
default_app_config = 'rest_framework_simplejwt.token_blacklist.apps.TokenBlacklistConfig'
from django import VERSION

if VERSION < (3, 2):
default_app_config = 'rest_framework_simplejwt.token_blacklist.apps.TokenBlacklistConfig'

0 comments on commit ac75ebe

Please sign in to comment.