It was difficult to understand what he wants to do...

Richard

On Thu, Feb 23, 2012 at 3:48 PM, Anthony <abasta...@gmail.com> wrote:

> db.define_table('ips',
>>     Field('id', 'id'),
>>     Field('ipaddress','string', length=15, unique=True),
>>     Field('dateadded', 'datetime', default=request.now),
>>     Field('reportedby', 'string', writable=False, readable=False, 
>> default=auth.user.username
>> if auth.user else 'some_other_default')
>>
>
> Anthony
>

Reply via email to