#29171: PostgreSQL specific model fields - ArrayField: Type Mismatch
-------------------------------------+-------------------------------------
Reporter: Pal | Owner: nobody
Type: | Status: new
Uncategorized |
Component: Database | Version: 2.0
layer (models, ORM) | Keywords: Postgres Array
Severity: Normal | Query
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
When you define ArrayField as models.CharField, the query fails. But if
you define ArrayField as models.TextField, the query succeeds.
Not Working: ArrayField(models.CharField(max_length=200), blank=True)
Working: ArrayField(models.TextField(blank=True))
--
Ticket URL: <https://code.djangoproject.com/ticket/29171>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/048.e717297e2d31584d6b2ef469a84842a3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.