Skip to content

Commit deb32bb

Browse files
add loading of plugin entry points
1 parent 87dae23 commit deb32bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/django_bird/plugins/manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
pm = pluggy.PluginManager("django_bird")
1010
pm.add_hookspecs(hookspecs)
1111

12+
pm.load_setuptools_entrypoints("django_bird")
13+
1214
DEFAULT_PLUGINS: list[str] = [
1315
"django_bird.staticfiles",
1416
]
1517

16-
1718
for plugin in DEFAULT_PLUGINS:
1819
mod = importlib.import_module(plugin)
1920
pm.register(mod, plugin)

0 commit comments

Comments
 (0)