from view_common import * | |
class DashboardAnalyticsAjaxView(View): | |
def get(self, request, name="hello_world", **kwargs): | |
if (name == "bigquery"): | |
(mimetype, data) = DoPlanetStackAnalytics(request) | |
return HttpResponse(data, mimetype=mimetype) | |
else: | |
return HttpResponse(json.dumps("Unknown"), mimetype='application/javascript') |