def handle(self, *args, **options): buildHtml(outputRoot = args[0], allowAbort = not options["force"])
def content_generate(request): buildHtml(allowAbort = not bool(request.GET.get("force"))) return render_to_response('simplecontent/content_generate.html', { 'success': True }, context_instance = RequestContext(request))