#13085: GenericForeignKey.get_content_type fails if `object` or `id` evaluate to
False.  Should use 'is not None' test.
-------------------------------------+-------------------------------------
     Reporter:  Ben                  |                    Owner:  Ramiro
                                     |  Morales <cramm0@…>
         Type:  Bug                  |                   Status:  closed
    Component:                       |                  Version:  dev
  contrib.contenttypes               |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by GitHub <noreply@…>):

 In [changeset:"1ed8ca43f61138b8f8d6f92106c27060753ed4e7" 1ed8ca43]:
 {{{
 #!CommitTicketReference repository=""
 revision="1ed8ca43f61138b8f8d6f92106c27060753ed4e7"
 Refs #13085 -- Removed unnecessary ManyToManyFields from
 generic_relations_regress test models.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/13085#comment:12>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/010701804b224829-4351d6eb-2826-4c6b-b36d-19b295511c3e-000000%40eu-central-1.amazonses.com.

Reply via email to