We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7941e7e commit fa6d1d4Copy full SHA for fa6d1d4
django_ltree/apps.py
@@ -1,15 +1,11 @@
1
from django.apps import AppConfig
2
3
4
-def register_pathfield():
5
- # Register field checks, lookups and functions
6
- from . import checks as checks
7
- from . import lookups as lookups
8
- from . import functions as functions
9
-
10
11
class DjangoLtreeConfig(AppConfig):
+ default_auto_field = "django.db.models.BigAutoField"
12
name = "django_ltree"
13
14
def ready(self):
15
- register_pathfield()
+ from . import checks as checks
+ from . import lookups as lookups
+ from . import functions as functions
0 commit comments