def chart_list(request): chart_list = Chart.all().filter("has_data ==", True) return render_to_response("charter/list.html", {"chart_list": chart_list, "user": request.g_app_user})
def my_chart_list(request): chart_list = Chart.all() chart_list.filter("user", request.g_app_user) return render_to_response("charter/list.html", {"chart_list": chart_list, "user": request.g_app_user})