Skip to content

Commit fa6d1d4

Browse files
Update apps.py
1 parent 7941e7e commit fa6d1d4

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

django_ltree/apps.py

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
11
from django.apps import AppConfig
22

33

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-
114
class DjangoLtreeConfig(AppConfig):
5+
default_auto_field = "django.db.models.BigAutoField"
126
name = "django_ltree"
137

148
def ready(self):
15-
register_pathfield()
9+
from . import checks as checks
10+
from . import lookups as lookups
11+
from . import functions as functions

0 commit comments

Comments
 (0)