Skip to content

Commit

Permalink
Merge pull request #14 from claudiokc/fix-django3.2-deprecation
Browse files Browse the repository at this point in the history
Automatic AppConfig discovery for support Django 3.2
  • Loading branch information
mariocesar authored Dec 17, 2024
2 parents eb46a53 + 2593f4f commit fbe4518
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion django_ltree/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
default_app_config = 'django_ltree.apps.DjangoLtreeConfig'
import django

if django.VERSION < (3, 2):
default_app_config = 'django_ltree.apps.DjangoLtreeConfig'

0 comments on commit fbe4518

Please sign in to comment.