Guest User

Untitled

a guest
Feb 10th, 2011
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. if db(db.tag.id>0).count() == 0:
  2.     TAGS = ['nice', 'great', 'awesome']
  3.     for t in TAGS:
  4.         db.tag.insert(name = t)
  5.     db.commit()
Advertisement
Add Comment
Please, Sign In to add comment