Skip to content

Commit 5cf4b36

Browse files
add
1 parent b01fba1 commit 5cf4b36

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

django_ltree/apps.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
import importlib
2-
31
from django.apps import AppConfig
42

53

64
def register_pathfield():
75
# Register field checks, lookups and functions
8-
importlib.import_module("django_ltree.checks")
9-
importlib.import_module("django_ltree.lookups")
10-
importlib.import_module("django_ltree.functions")
6+
from . import checks as checks
7+
from . import lookups as lookups
8+
from . import functions as functions
119

1210

1311
class DjangoLtreeConfig(AppConfig):

0 commit comments

Comments
 (0)