#9420: Correction to documentation on get(**kwargs) queryset method ----------------------------------------+----------------------------------- Reporter: daveyjoe | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.0 Keywords: documentation get queryset | Stage: Unreviewed Has_patch: 0 | ----------------------------------------+----------------------------------- Found at: http://docs.djangoproject.com/en/dev/ref/models/querysets/#id5
''Incorrect'' text: "get() raises AssertionError if more than one object was found." ''Suggested'' correction: "get() raises a MultipleObjectsReturned exception if more than one object was found. The MultipleObjectsReturned exception is an attribute of the model class." -- Ticket URL: <http://code.djangoproject.com/ticket/9420> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
