Fix docs comment form for version = "current"
commite767582d11de2b5e0823f4d6f55f40d7200544c9
authorMagnus Hagander <magnus@hagander.net>
Mon, 28 Jan 2019 13:00:29 +0000 (28 14:00 +0100)
committerMagnus Hagander <magnus@hagander.net>
Mon, 28 Jan 2019 13:19:12 +0000 (28 14:19 +0100)
tree04cebb0e43462ad60789b364c14465a2bb24b74b
parentc4cce24d7d97a4318add8fcec4992f00adaba5b8
Fix docs comment form for version = "current"

Normally not reachable with "current", only with explicit version,
but as proven by some live crashes, there is some way to. So make
sure we look up the current version instead of crashing.
pgweb/docs/views.py