(self)
| 489 | |
| 490 | class block: |
| 491 | def GET(self): |
| 492 | page = web.ctx.site.get("/admin/block") or web.storage(ips=[web.storage(ip="127.0.0.1", duration="1 week", since="1 day")]) |
| 493 | return render_template("admin/block", page) |
| 494 | |
| 495 | def POST(self): |
| 496 | i = web.input() |
nothing calls this directly
no test coverage detected