 import json <EOL> import pymongo <EOL> from flask import request , abort , json , render_template , Response <EOL> from flask . ext import restful <EOL> from flask . ext . restful import reqparse <EOL> from flask_rest_service import app , api , mongo <EOL> from bson . objectid import ObjectId <EOL> from bson . code import Code <EOL> class Stats ( restful . Resource ) : <EOL> def get ( self ) : <EOL> return Response ( render_template ( "<STR_LIT>" ) , mimetype = '<STR_LIT>' ) 
 api . add_resource ( Stats , '<STR_LIT>' ) </s>

 import json <EOL> import pymongo <EOL> from flask import request , abort , json , render_template , Response <EOL> from flask . ext import restful <EOL> from flask . ext . restful import reqparse <EOL> from flask_rest_service import app , api , mongo <EOL> from bson . objectid import ObjectId <EOL> from bson . code import Code <EOL> class Stats ( restful . Resource ) : <EOL> def get ( self ) : <EOL> return Response ( render_template ( "<STR_LIT>" ) , mimetype = '<STR_LIT>' ) <EOL> api . add_resource ( Stats , '<STR_LIT>' ) </s>
