Use setuptools entrypoints to find apps
All threads resolved!
All threads resolved!
Compare changes
- Nik | Klampfradler authored
In contrast to scanning the `aleksis.apps` namespace, this has some benefits: 1. Does not need to import the module to consider it (resolve potential circular imports
) 2. Does not need to scan filesystems and wheels 3. Apps can choose their own namespaces, register multiple apps/ variants, and much more)
+ 5
− 11
@@ -59,14 +58,8 @@ def dt_show_toolbar(request: HttpRequest) -> bool:
@@ -81,7 +74,8 @@ def merge_app_settings(