Move fetching of version list for bug form to runtime
authorMagnus Hagander <magnus@hagander.net>
Fri, 14 Jun 2019 12:31:12 +0000 (14:31 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 14 Jun 2019 12:32:17 +0000 (14:32 +0200)
commit7bf99809c8de93fad7f0188d8de6dac1d441bea6
treedf8ef29dc5a661231b0a29af771bf0f6b6f18e1a
parent61d5ccaceebb7756448727e1b88e653d85a51c25
Move fetching of version list for bug form to runtime

The fact that we tried to populate it already in the definition of the
form broke the ability to run "migrate" on a completely new system.

Issue reported by Andrew Dunstan
pgweb/misc/forms.py