code: def handle(self, **options):
          
          template = os.path.dirname(os.path.abspath(__file__)) + "/app_template"
          name = options.pop("name")
          call_command("startapp", name, template=template, **options)
docs: Call "startapp" to generate app with custom user model.