(self, today)
| 464 | |
| 465 | class stats: |
| 466 | def GET(self, today): |
| 467 | json = web.ctx.site._conn.request(web.ctx.site.name, "/get", "GET", {"key": "/admin/stats/" + today}) |
| 468 | return delegate.RawText(json) |
| 469 | |
| 470 | def POST(self, today): |
| 471 | """Update stats for today.""" |