#34887: Allow unlimited CharField for SQLite backend
-----------------------------------------+--------------------------
Reporter: karosis88 | Owner: nobody
Type: New feature | Status: assigned
Component: Uncategorized | Version: 4.2
Severity: Normal | Keywords: SQLite
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+--------------------------
Model validation throws an error on CharField when the max_length argument
is not specified.
{{{#!python
class MyModel(models.Model):
name = models.CharField()
}}}
The developer who knows that SQLite can store unlimited characters would
be surprised in such cases.
I suggest allowing unlimited characters for SQLite, like we do for
PostgreSQL.
Relevant PostgreSQL ticket: https://code.djangoproject.com/ticket/14094
--
Ticket URL: <https://code.djangoproject.com/ticket/34887>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018af9970530-071fbf1b-e7d5-4e7f-9793-32671fef368d-000000%40eu-central-1.amazonses.com.