""" categories Insert roles for authors """ if db(db.authors_roles).count() == 1: db.authors_roles.insert(id=2, role=T('main authors'))