Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class User(Model):
- username = CharField(null=False)
- password = FixedCharField(null=False, max_length=32)
- user = User.create(username="whatever", password="whatever")
- user.password # returns '008c5926ca861023c1d2a36653fd88e2'
Add Comment
Please, Sign In to add comment