Django objects.get()
Posted
by alex
on Stack Overflow
See other posts from Stack Overflow
or by alex
Published on 2010-03-22T00:00:59Z
Indexed on
2010/03/22
0:01 UTC
Read the original article
Hit count: 248
What if there is nothing that matches the get? Then it returns in an error.
How do I say: get if there is, otherwise, return nothing.
© Stack Overflow or respective owner