Skip to content

Commit bdfe838

Browse files
mschoettlemixxorz
andauthored
remove default_config for Django versions 3.2+ (#35)
* remove default_config for Django versions 3.2+ * style: fix formatting --------- Co-authored-by: Mitchel Cabuloy <mixxorz@gmail.com>
1 parent c62c7eb commit bdfe838

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

slippers/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
default_app_config = "slippers.apps.SlippersConfig"
1+
import django
2+
3+
if django.VERSION < (3, 2):
4+
default_app_config = "slippers.apps.SlippersConfig"

0 commit comments

Comments
 (0)