django-rest-framework/rest_framework/authtoken/__init__.py

5 lines
116 B
Python

import django
if django.VERSION < (3, 2):
default_app_config = 'rest_framework.authtoken.apps.AuthTokenConfig'