def stats(request, name): context = { 'name': name, 'data': Stats.for_model(name), 'labelled_tweets': Tweet.labelled_by_date(name) } return render_to_response("monitor/index.html", context)
def stats(request, name): context = {"name": name, "data": Stats.for_model(name), "labelled_tweets": Tweet.labelled_by_date(name)} return render_to_response("monitor/index.html", context)