#16089: Adding/Removing admin Inlines on the fly
-------------------------------------+-------------------------------------
     Reporter:  sheep2               |                    Owner:  nobody
         Type:  New feature          |                   Status:  closed
    Component:  contrib.admin        |                  Version:  1.3
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Design
    Has patch:  1                    |  decision needed
  Needs tests:  1                    |      Needs documentation:  1
Easy pickings:  0                    |  Patch needs improvement:  1
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by apollo13):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 I think this was fixed in c2e19e26bc33d34eff57079bd1a6838ff64d9e81, some
 example code (should work, untested):
 {{{
 def get_inline_instances(self, request, obj=None):
   if obj is None:
     return []
   return super(Bla, self).get_inline_instances(request, obj)
 }}}
 If there are still issues please reopen the ticket and provide more
 information.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16089#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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to