Opened 15 years ago
Last modified 14 years ago
#14581 closed
__isnull=False not working for one to one relationships — at Version 1
| Reported by: | sircco | Owned by: | nobody |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Keywords: | pscyopg2 | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
I am using psycopg2 backend
A.fillter(B__isnull=False)[0].B throws DoesNotExist exception
Note:
See TracTickets
for help on using tickets.
Corrected formatting.