Once again I have been tempted by the max_length parameter to CharField types in Django to setting needless length limits that cause stupid-long page titles to break my app.

PostgreSQL doesn’t need short limits to character data for efficiency, so you might as well set every field to 4000 (since Django doesn't allow CharFields without max_length).

Sign in to participate in the conversation

Octodon is a nice general purpose instance. more