Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use django.utils.module_loading.autodiscover #57

Open
joshuadavidthomas opened this issue Aug 8, 2024 · 0 comments
Open

Use django.utils.module_loading.autodiscover #57

joshuadavidthomas opened this issue Aug 8, 2024 · 0 comments
Labels
🏋️ improvement Enhancements or optimizations to existing functionality 🧁 needs baking Requires more time for consideration or development before further action

Comments

@joshuadavidthomas
Copy link
Member

Instead of the custom module loading code included in this library, it might be better to utilize the utility included in Django for this. It's what the admin uses to autodiscover and import all admin modules in installed apps.

https://github.com/django/django/blob/main/django/utils/module_loading.py

@joshuadavidthomas joshuadavidthomas added 🏋️ improvement Enhancements or optimizations to existing functionality 🧁 needs baking Requires more time for consideration or development before further action labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏋️ improvement Enhancements or optimizations to existing functionality 🧁 needs baking Requires more time for consideration or development before further action
Projects
None yet
Development

No branches or pull requests

1 participant