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