Skip to content

Use django.utils.module_loading.autodiscover #57

@joshuadavidthomas

Description

@joshuadavidthomas

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🏋️ improvementEnhancements or optimizations to existing functionality🧁 needs bakingRequires more time for consideration or development before further action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions