Opened 12 years ago

Closed 12 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.

https://github.com/django/django/pull/557

Change History (2)

comment:1 by Aymeric Augustin, 12 years ago

Easy pickings: unset
Patch needs improvement: set
Triage Stage: UnreviewedAccepted

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".

comment:2 by Aymeric Augustin, 12 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #17061 which has a more complete patch.

Note: See TracTickets for help on using tickets.
Back to Top