Changes between Initial Version and Version 1 of Ticket #26987, comment 4


Ignore:
Timestamp:
08/19/16 18:01:13 (6 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26987, comment 4

    initial v1  
     1{{{
    12``get()`` raises :exc:`~django.core.exceptions.MultipleObjectsReturned` if more
    23than one object was found. The
     
    89        if Entry.objects.all().count() == 1:
    910             print(Entry.objects.get())
     11}}}
Back to Top