#21472: Django 1.6 ImageField not rendered properly in Admin inline form -------------------------------+------------------------------------ Reporter: agale031176@… | Owner: nobody Type: Bug | Status: new Component: Forms | Version: 1.6 Severity: Normal | Resolution: Keywords: regression | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 1 -------------------------------+------------------------------------ Changes (by claudep):
* keywords: => regression * component: Uncategorized => Forms Comment: OK, so this was introduced with the fix for #19524 ([e9c24bef74e5572] and [5097d3c5faab2] (1.5)). The problem is the test `if self.instance.pk:` in `BaseInlineFormSet.__init__` which should probably be `if self.instance.pk is not None:`. -- Ticket URL: <https://code.djangoproject.com/ticket/21472#comment:6> 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. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/079.cc00f29e2f35a6c4d98b2acaad39ec79%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.