#18778: ForeignKey to a model with a CharField primary key produces unexpected
results for an empty-string PK value
-------------------------------------+-------------------------------------
Reporter: Ubercore | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: master
(models, ORM) | Resolution: invalid
Severity: Normal | Triage Stage:
Keywords: | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by anonymous):
* status: new => closed
* resolution: => invalid
Comment:
You cannot have a empty primary_key.
Can you provide a failing test for this ?
--
Ticket URL: <https://code.djangoproject.com/ticket/18778#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.