Chromium Code Reviews| Index: appengine/findit/base_handler.py |
| diff --git a/appengine/findit/base_handler.py b/appengine/findit/base_handler.py |
| index 4a34546bb4b9a970906feb96f08c46e0809eb9fa..2081372f28a55c95a3edddd479aa9c5948e67388 100644 |
| --- a/appengine/findit/base_handler.py |
| +++ b/appengine/findit/base_handler.py |
| @@ -11,6 +11,8 @@ from google.appengine.api import users |
| import jinja2 |
| import webapp2 |
| +from handlers import result_status |
|
stgao
2016/03/28 23:29:26
It seems we could revert the change in this CL.
chanli
2016/03/29 01:35:56
Done.
|
| + |
| JINJA_ENVIRONMENT = jinja2.Environment( |
| loader=jinja2.FileSystemLoader( |
| @@ -22,7 +24,6 @@ JINJA_ENVIRONMENT = jinja2.Environment( |
| def ToJson(data): |
| return json.dumps(data) |
| - |
| JINJA_ENVIRONMENT.filters['tojson'] = ToJson |