Opened 13 years ago

Last modified 13 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 Alex Gaynor)

I am using psycopg2 backend

A.fillter(B__isnull=False)[0].B throws DoesNotExist exception

Change History (1)

comment:1 by Alex Gaynor, 13 years ago

Description: modified (diff)

Corrected formatting.

Note: See TracTickets for help on using tickets.
Back to Top