Anton Shestakov <av6@dwimlabs.net>, Sat, 18 Jun 2016 22:30:42 +0800
viewer: get_or_404() to raise 404 (instead of 500) when model doesn't exist
candolint/uimodules.py
Permissions: -rw-r--r--
from tornado.web import UIModule datetime = value.isoformat() + 'Z' text = value.strftime('%Y-%m-%d %H:%M:%S') + ' UTC' return self.render_string('ui/time.html', datetime=datetime, title=text, text=text) return self.render_string('ui/badges.html', check=check)