#12679: In admin, inlines should be allowed to be properties
-------------------------------------+-------------------------------------
     Reporter:  mariarchi            |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  contrib.admin        |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:  admin inlines duck   |             Triage Stage:  Accepted
  typing                             |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Baptiste Mispelon):

 Turns out this got fixed in 1d8eb0cae57731b481a88dca272b2cb0d645bd8e.

 I wrote a [https://github.com/django/django/pull/12216 pull request] to
 add a test for the specific usecase of the original ticket but I'm not
 100% convinced it's necessary.
 To me, the test basically checks that python properties work which seems
 silly. Plus if we're testing `ModelAdmin.inlines` then why not check all
 other potential `ModelAdmin` options?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/12679#comment:7>
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/067.bde9776cbfef693742d0c4bb2e34d803%40djangoproject.com.

Reply via email to