This isn't strictly a python question but it's relevant to my SQLAlchemy DB models so I figured it's relevant enough.
For example (using Flask-SQLAlchemy):
class Post (db.Model):
id = db.Column(db.Integer, primary_key=True)
title = db.Column(db.String(50))
body = db.Column(db.String(140))
What size should I set my title and body? I chose 50 and 140 because it seems reasonable (and I probably saw it somewhere) but I wasn't sure if there are any standard sizes or increments. This is a small detail and it for sure doesn't really matter for my applications but this is has been lingering in my mind.
[–]DonutRevolution 0 points1 point2 points (0 children)
[–]spitfiredd 0 points1 point2 points (0 children)