Skip to content

Commit 87477e0

Browse files
hartungsteniovanadium23
authored andcommitted
Fix automatic detection warning for Django 3.2+
1 parent 7e96c1e commit 87477e0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

django_db_comments/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import django
2+
13
__version__ = "0.4.1"
24

3-
default_app_config = "django_db_comments.apps.DjangoDbCommentsConfig"
5+
if django.VERSION < (3, 2):
6+
default_app_config = "django_db_comments.apps.DjangoDbCommentsConfig"

0 commit comments

Comments
 (0)