#13137: GenericForeignKey does not allow content type PK 0 -------------------------------------+------------------------------------- Reporter: devesine | Owner: woodlee Type: Bug | Status: assigned Component: | Version: master contrib.contenttypes | Resolution: Severity: Normal | Triage Stage: Accepted Keywords: contenttype | Needs documentation: 0 genericforeignkey | Patch needs improvement: 0 Has patch: 1 | UI/UX: 0 Needs tests: 0 | Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by aaugustin): Similar cleanup already happened in this file: https://github.com/django/django/commit/04d9730b127c689b8eda01cbc913efa6e2eb230b#L0L55 The patch fixes the two last instances of `if foo:`. -- Ticket URL: <https://code.djangoproject.com/ticket/13137#comment:18> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.