def save():
    user = User('zhang', '*****@*****.**')
    user.save()
Пример #2
0
def save():
    user = User('zhang', '*****@*****.**')
    user.save()
def query_users():
    users = User.query_user()
    for user in users:
        print(user)
Пример #4
0
def query_users():
    users = User.query_user()
    for user in users:
        print(user)