Hi,

It looks like if I'm using a OneToOne field (with blank=True etc set) and 
happen to try and access this field when it's Null (or None) then I get a 
NotFound exception?  

My expectation was it would return None of nothing was set, not raise an 
exception?

I could of course catch this exception each time, but I need to keep 
remembering which fields I've set as OneToOne and which are plan old 
ForeignKey!

Thanks,

Paul

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/wf7ZOZlnAc4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to