Make it possible to autocreate an object in simple_form
authorMagnus Hagander <magnus@hagander.net>
Sun, 27 Nov 2011 13:13:16 +0000 (14:13 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 27 Nov 2011 13:13:16 +0000 (14:13 +0100)
commite363050c75a69ec56e6ff7ea69a9e989c2be12cf
tree5432ea1bebe6d7dd2f3dbd568b5caea332cf58f3
parent5bcbf1253e38e964f71af65816dd5b9209c89e6b
Make it possible to autocreate an object in simple_form

Previously, one had to specify "new" as objectid to create a new one, but
in some cases it may not be known ahead of time if the object exists or not.
pgweb/util/helpers.py