1👍
✅
You can get the source in this way:
In your django shell, (./manage.py shell
)
> from django.core.urlresolvers import resolve
> func, args, kwargs = resolve("/transcript/directory/")
> module = func.__module__
func
is the name of the function, and module
is the name of the package it is found in.
You can read up more about URL resolution here and here
You can also access the source code here to see how it is implemented.
Source:stackexchange.com