On Thu, Apr 8, 2010 at 6:02 PM, Daniel <unagimiy...@gmail.com> wrote: > Thank you, Tom. I understand now. I come from java and I was not > aware that such a syntax is allowed. I got the Q objects part of my > app working thanks to you guys. >
Just to clarify: python: a = c if b else d java: a = b ? c : d; -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.