I have these lines that is supposed to update a record but it doesn't:

    db.card.validated.writable=True
    db.card.modified_by.writable=True
    
db.card(db.card.alnum==c_hash).update(validated=True,modified_by=auth.user.id)


Is there anything I missed? I tried to include a manual db.commit(), but
that didn't work either.

Reply via email to