def root_create(request):
 root = get_or_create_root()
 return redirect('wiki:get', path=root.path)

def root_create ( request ) : root = get_or_create_root ( ) return redirect ( 'wiki:get' , path = root . path )
in the edx wiki .