you are right, forgotten about the .requires part :/
thanks!
On Sunday, July 21, 2013 9:32:15 PM UTC+3, Jonathan Lundell wrote:
>
> On 21 Jul 2013, at 11:28 AM, "K. Antonis Tzorvas"
> >
> wrote:
>
> db.define_table('station',
> Field('name'),
> Field('country', 's
On 21 Jul 2013, at 11:28 AM, "K. Antonis Tzorvas"
wrote:
> db.define_table('station',
> Field('name'),
> Field('country', 'string'),
> Field('city', 'string'),
> Field('records_file', 'upload'),
> format='%(name)s',
>
db.define_table('station',
Field('name'),
Field('country', 'string'),
Field('city', 'string'),
Field('records_file', 'upload'),
format='%(name)s',
migrate=False)
db.station.name.requires = IS_NOT_IN_DB(
3 matches
Mail list logo