I want to get Django Site URL's inside another function.
I know and i am using, django_extensions
Currently am fetching using, ./manage.py show_urls
but i want fetch URLs into variable.
is there a way to use django-extensions
inside a custom function?
Try 1:
from django.core.management import call_command
this also not helpful. seems work only with Preinstalled Modules