Field('owner', auth.user, IS_NOT_EMPTY 
<http://brian.com/examples/global/vars/IS_NOT_EMPTY>())


The second argument to Field() is the type, but you have auth.user there. 
Also, your third argument is a validator, but "requires" is not the third 
positional argument to Field(), so that won't work either. Perhaps you want:

Field('owner', db.auth_user, requires=IS_NOT_EMPTY())

Anthony

On Thursday, June 21, 2012 2:04:01 AM UTC-4, Alec Taylor wrote:
>
> Here's the full ticket: http://jsfiddle.net/nqMtX/embedded/result/ 
>
> >> Unfortunately I still haven't gotten it to work. 
> >> 
> >> Now getting an error saying: type 'exceptions.AttributeError'> 
> >> 'NoneType' object has no attribute 'startswith' 
> > 
> > 
> > Traceback? What line is causing that error? 
> > 
> > -- 
>

-- 



Reply via email to