Skip to content

Commit 5aeccfe

Browse files
committed
default_app_confi needs to be set only in older django versions
1 parent cdab881 commit 5aeccfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_prometheus/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
# If people don't have pip, don't export anything.
2222
pass
2323

24-
if django.VERSION < (3, 2):
24+
if django.VERSION < (3, 1):
2525
default_app_config = "django_prometheus.apps.DjangoPrometheusConfig"

0 commit comments

Comments
 (0)