#11965: A ModelAdmin method returning bool is not formatted with an image
-------------------------------------------+--------------------------------
Reporter: romkyns | Owner: nobody
Status: new | Milestone:
Component: django.contrib.admin | Version: SVN
Resolution: | Keywords: list_display
Stage: Unreviewed | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Changes (by ramiro):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Just in case you haven't seen it, the currently way to not only achieve
but also control this is documented (fifth item in the second bullted
list):
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display
(namely, specifying a `True` value for the `.boolean` attribute for the
boolean-returning method.)
Is there a reason you are proposing to expose second, more limited way to
do to this?
--
Ticket URL: <http://code.djangoproject.com/ticket/11965#comment:1>
Django <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---