Refactor the class/function loading code to use common API
|Reported by:||Jannis Leidel||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
There are countless code snippets in Django that load a particular callback or backend and each handle the possible exceptions differently.
I think for the most of those examples we can use a common API which would lower the chance of breakage as well be useful to users.
Jonas Obrist implemented this kind of thing in his django-load app (http://readthedocs.org/docs/django-load/en/latest/).
Change History (5)
comment:2 Changed 6 years ago by
|Component:||Uncategorized → Core (Other)|
|Triage Stage:||Unreviewed → Accepted|