https://docs.djangoproject.com/en/dev/ref/utils/#django.utils.module_loading.import_by_path
However this documentation doesn't indicate which Django version it was
added in (1.6).
I was scratching my head for a bit why this function wasn't working in
Django 1.5.
--
Ticket URL: <https://code.djangoproject.com/ticket/20591>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => assigned
* cc: batisteo (added)
* needs_better_patch: => 0
* needs_tests: => 0
* owner: nobody => batisteo
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/20591#comment:1>
* has_patch: 0 => 1
Comment:
Pull request here: https://github.com/django/django/pull/1262
--
Ticket URL: <https://code.djangoproject.com/ticket/20591#comment:2>
* stage: Unreviewed => Ready for checkin
Comment:
Looks good.
--
Ticket URL: <https://code.djangoproject.com/ticket/20591#comment:3>
Comment (by Marc Tamlyn <marc.tamlyn@…>):
In [changeset:"6e90bfde88136504915533a4f47d5ac043b62a76"]:
{{{
#!CommitTicketReference repository=""
revision="6e90bfde88136504915533a4f47d5ac043b62a76"
Merge pull request #1262 from batisteo/ticket-20591
Fixed #20591: added version in docs for
utils.module_loading.import_by_path
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20591#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"8821bcb2a0b4d9a049a5b645afa5080b640928e2"]:
{{{
#!CommitTicketReference repository=""
revision="8821bcb2a0b4d9a049a5b645afa5080b640928e2"
Fixed #20591: added version in docs for
utils.module_loading.import_by_path.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20591#comment:4>