I want to run a command which is something like this, but the function handle (self,*args,**options) doesn't seem to execute the nested functions.
How can I include my functions inside handle()?
from django.core.management.base import NoArgsCommand
class Command(NoArgsCommand):
def handle(self, *args, **options):
def hello():
print "hello1"
def hello1():
print "hello2"