#29171: PostgreSQL specific model fields - ArrayField: Type Mismatch
-------------------------------------+-------------------------------------
Reporter: Pal | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 2.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: Postgres Array | Triage Stage:
Query | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Pal):
Replying to [comment:5 Tim Graham]:
> Please show the model and the query. Perhaps you could write it as a
test for `tests/postgres_tests/test_array.py` using `CharArrayModel`.
One thing I want to mention is that this table was already created in
Postgres and I am adding that to the models.py and as I said if I define
as ArrayField(models.CharField...) it does not work where as
ArrayField(models.TextField...) works. So someone can test and verify
this. Thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/29171#comment:6>
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/063.ce6706dbb60df62c41bcc29a06656724%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.