Thanks for your feedback Russel. I understand and agree with your points, every solution has a drawback. I just think that the Zen of Python “There should be one-- and preferably only one --obvious way to do it.” shouldn’t be taken so seriously.
What I mean is, isn’t QuerySet#get just a shortcut for a use case of QuerySet#filter? Isn’t QuerySet#first() just sugar to QuerySet[0]? What about the django.shortcuts module? Don’t get me wrong, I enjoy the python philosophy, but I think it’s more a guideline than a law. []’s Paulo Poiati blog.paulopoiati.com -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/858a6597-2a8d-4ac3-816b-aa3065a6fd4d%40Paulos-MacBook-Air.local. For more options, visit https://groups.google.com/groups/opt_out.
