My auth_user definition looks like this:

    user_table,
    db.Field('first_name', length=128, requires=IS_NOT_EMPTY()),
    db.Field('last_name', length=128, requires=IS_NOT_EMPTY()),
    db.Field('email', length=128, requires = [IS_NOT_EMPTY(),
IS_EMAIL()]),
    db.Field('password', 'password', readable=False, label='Password',
requires=CRYPT()),
    db.Field('language', 'string', length=2, required=True,
requires=IS_IN_SET(['fi', 'se'])),
    db.Field('phone', 'string'),
    db.Field('cow_id', 'string', default=''),
    db.Field('email_notifications', 'boolean', default=True),
    db.Field('login_date', 'datetime'),
    db.Field('edited_by', 'integer', required=True), # cannot use
db[user_table] since it does not exist...
    db.Field('edited_date', 'datetime', required=True),
    db.Field('registration_key', length=128, writable=False,
readable=False,default=''),
    db.Field('view_only', 'boolean', default=0),
    db.Field('hide_setting', 'integer', default=0))

I guess it is the guy before me who added that field. I´ll have to ask
him whats the point with it.


Kenneth



On Sep 28, 8:49 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> there is no login_date field in auth_user. What are you looking at?
>
> Massimo
>
> On Sep 28, 11:51 am, Kenneth <kenneth.t.lundst...@gmail.com> wrote:
>
> > Hello,
>
> > The auth_user table contains field login_date
>
> > Should this contain the date and time when user has last time logged
> > in?
>
> > Is this field updated automatically?
>
> > If it should update automatically why isn´t it doing it anymore?
>
> > Kenneth
>
>

Reply via email to