authors_roles.py 147 Bytes
Newer Older
1 2 3 4 5 6 7 8
""" categories

    Insert roles for authors

"""
if db(db.authors_roles).count() == 1:

    db.authors_roles.insert(id=2, role=T('main authors'))