Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- from alerts.models import *
- user = Account()
- user.username = 'testuser'
- user.password = 'testpass'
- user.email = 'robertgenito@gmail.com'
- session = Session()
- session.add(user)
- session.commit()
- print 'committed that shiz :D'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement