According to this [article][1]
,
I made the Command
class.
myapp/management/commands/mycommand.py
class Command(BaseCommand):
def command_test(self):
print("test command_test")
Now I want to call this command_test from views.py
like this below...
Is it possible??
in myapp/views.py
def index(request):
Command.command_test()