Refactor the class/function loading code to use common API
|Reported by:||jezdez||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)
Changed 3 years ago by jezdez
comment:2 Changed 3 years ago by russellm
- Component changed from Uncategorized to Core (Other)
- Triage Stage changed from Unreviewed to Accepted