def get(self, ctx): return Response.ok({'form': PlaceForm(ctx.req)})
def get(self, ctx): form = PlaceSuggestForm(ctx.req) found = Place.find_pattern(form.data['pattern']) return Response.ok({'found': found})