Opened 13 years ago
Closed 13 years ago
#19383 closed New feature (duplicate)
load_class to django utils
| Reported by: | Ezequiel Bertti | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Other) | Version: | dev |
| Severity: | Normal | Keywords: | utils import |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | no |
Description
One more helper to django utils.
This method is use by a lot of django-users, and is always re coded for every one, this can help a lot of developers.
Change History (2)
comment:1 by , 13 years ago
| Easy pickings: | unset |
|---|---|
| Patch needs improvement: | set |
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 13 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Duplicate of #17061 which has a more complete patch.
Note:
See TracTickets
for help on using tickets.
This doesn't have to be class-specific; you can use the same code to load anything by name.
I think another ticket was created for this recently, but I can't find it.
If you're adding that function to Django, please use in wherever Django import things by "dotted path".