#30097: InlineModelAdmin.has_add_permission() broke backwards compatibility by requiring obj argument -------------------------------------+------------------------------------- Reporter: Maxim Zemskov | Owner: Maxim | Zemskov Type: Bug | Status: closed Component: contrib.admin | Version: 2.1 Severity: Release blocker | Resolution: fixed Keywords: contrib.admin, | Triage Stage: Ready for admin, inline | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Tim Graham <timograham@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"3c01fe30f3dd4dc1c8bb4fec816bd277d1ae5fa6" 3c01fe30]: {{{ #!CommitTicketReference repository="" revision="3c01fe30f3dd4dc1c8bb4fec816bd277d1ae5fa6" Fixed #30097 -- Made 'obj' arg of InlineModelAdmin.has_add_permission() optional. Restored backwards compatibility after refs #27991. Regression in be6ca89396c031619947921c81b8795d816e3285. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30097#comment:5> 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/070.d1629d8373e6d228087455353ad2bf71%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.