We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 844e9dd commit 9b6a187Copy full SHA for 9b6a187
rest_framework/__init__.py
@@ -1,3 +1,5 @@
1
+import django
2
+
3
r"""
4
______ _____ _____ _____ __
5
| ___ \ ___/ ___|_ _| / _| | |
@@ -23,6 +25,10 @@
23
25
ISO_8601 = 'iso-8601'
24
26
27
28
+if django.VERSION < (3, 2):
29
+ default_app_config = 'rest_framework.apps.RestFrameworkConfig'
30
31
32
class RemovedInDRF313Warning(DeprecationWarning):
33
pass
34
rest_framework/authtoken/__init__.py
@@ -0,0 +1,3 @@
+ default_app_config = 'rest_framework.authtoken.apps.AuthTokenConfig'
0 commit comments