Looking through my code I realised that I would be better served if I
could lookup and reference by `group_name` instead of `id`.
I have set `group_name` to:
Field('group_name', notnull=True, requires=[IS_SLUG(),
IS_NOT_IN_DB(db, 'group_of_events.group_name')]),
So it is perfect for a public key.
Unfortunately when I set it, I get key errors (to double check, I
dropped all records and refreshed; still got the error).
Here is a 13 line test-case version: http://pastebin.com/8dLFb8QS
What am I doing wrong; how do I make `group_name` public key?
Thanks for all suggestions,
Alec Taylor
--