Skip to content

Commit 3874c37

Browse files
authored
Merge pull request #287 from asherf/jerry
default_app_config needs to be set only in older django versions
2 parents cdab881 + 5aeccfe commit 3874c37

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)