#21508: ForeignKey cast to int despite being varchar
-------------------------------------+-------------------------------------
Reporter: fiomtec@… | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 1.5
(models, ORM) |
Severity: Normal | Resolution: needsinfo
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timgraham):
* status: new => closed
* resolution: => needsinfo
Comment:
I don't think we have enough information in the report to reproduce the
issue. I tested a `ForeignKey` to a `CharField` and didn't have any
problems on SQLite or PostgreSQL.
Could it be a problem with sqlserver or the database backend you are
using? Please reopen if you can provide more details. A failing test case
would be helpful.
--
Ticket URL: <https://code.djangoproject.com/ticket/21508#comment:4>
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/075.59f8be2d943ef481e495d5c3440969e5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.