Skip to content

Commit 83007b1

Browse files
CleitonDeLimaagateblue
authored andcommitted
Fix default_app_config deprecation
1 parent f0e3fc1 commit 83007b1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dynamic_preferences/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1+
import django
2+
13
__version__ = "1.12.0"
2-
default_app_config = "dynamic_preferences.apps.DynamicPreferencesConfig"
4+
5+
if django.VERSION < (3, 2):
6+
default_app_config = "dynamic_preferences.apps.DynamicPreferencesConfig"

0 commit comments

Comments
 (0)