- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CharField (0.26 sec)
-
docs_src/sql_databases_peewee/sql_app/models.py
from .database import db class User(peewee.Model): email = peewee.CharField(unique=True, index=True) hashed_password = peewee.CharField() is_active = peewee.BooleanField(default=True) class Meta: database = db class Item(peewee.Model): title = peewee.CharField(index=True) description = peewee.CharField(index=True) owner = peewee.ForeignKeyField(User, backref="items")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 465 bytes - Viewed (0)