Skip to content

Class tigrbl.orm.mixins.fields.Slugged

tigrbl.orm.mixins.fields.Slugged

slug class-attribute instance-attribute

slug = acol(
    spec=ColumnSpec(
        storage=S(
            type_=String, unique=True, nullable=False
        ),
        field=F(
            py_type=str, constraints={"max_length": 120}
        ),
        io=CRUD_IO,
    )
)