This relates to changes made in
https://code.djangoproject.com/ticket/24226.
http://stackoverflow.com/questions/18324030/how-to-change-empty-
changelist-value-in-django-admin
http://stackoverflow.com/questions/28174881/in-the-django-admin-
changelist-how-do-i-display-a-blank-space-instead-of-the-
de?noredirect=1#comment44719629_28174881
--
Ticket URL: <https://code.djangoproject.com/ticket/24474>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => gannetson
* needs_better_patch: => 0
* status: new => assigned
* needs_tests: => 0
* needs_docs: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:1>
* component: Uncategorized => contrib.admin
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:2>
* version: 1.7 => master
* type: Uncategorized => New feature
* stage: Unreviewed => Accepted
Comment:
By settings, I think attributes of `ModelAdmin` and `AdminSite` would
probably be the way to go.
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:3>
* needs_docs: 0 => 1
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:4>
* needs_docs: 1 => 0
* has_patch: 0 => 1
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:5>
* needs_better_patch: 0 => 1
Comment:
Reviewed PR.
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:6>
Comment (by gannetson):
Applied suggested changes. PR ready for new review.
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:7>
* needs_better_patch: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:8>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"72f769f494822981db6df9524b92a2d86f8e69fe" 72f769f4]:
{{{
#!CommitTicketReference repository=""
revision="72f769f494822981db6df9524b92a2d86f8e69fe"
Fixed #24474 -- Allowed configuring the admin's empty change list value.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:9>
Comment (by Tim Graham <timograham@…>):
In [changeset:"1273a7a0e808a43ce7a344bbf36d55b9436ecf41" 1273a7a0]:
{{{
#!CommitTicketReference repository=""
revision="1273a7a0e808a43ce7a344bbf36d55b9436ecf41"
Revert "Fixed #24474 -- Allowed configuring the admin's empty change list
value."
This reverts commit 72f769f494822981db6df9524b92a2d86f8e69fe.
There are several test failures that need to be fixed.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:10>
* status: closed => new
* needs_better_patch: 0 => 1
* resolution: fixed =>
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:11>
Comment (by gannetson):
I see the failing tests now. I'll look into this.
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:12>
Comment (by gannetson):
Django Sprint Cardiff! I'm continuing this ticket now.
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:13>
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:14>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
Comment:
Looks good, pending a cosmetic comment.
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:15>
Comment (by gannetson):
Do you mean this one?
https://github.com/gannetson/django/commit/fcb527df09a8087763725e123255eebca2474e76
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:16>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"0207bdd2d4157c542c981264c86706b78ca246e9" 0207bdd]:
{{{
#!CommitTicketReference repository=""
revision="0207bdd2d4157c542c981264c86706b78ca246e9"
Fixed #24474 -- Allowed configuring the admin's empty change list value.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:17>
Comment (by GitHub <noreply@…>):
In [changeset:"67a1ae68a833358e4b5bf2677e3f9f5719443bea" 67a1ae6]:
{{{
#!CommitTicketReference repository=""
revision="67a1ae68a833358e4b5bf2677e3f9f5719443bea"
Refs #24474 -- Changed AdminSite.empty_value_display property to an
attribute.
This was implemented with a property getter and setter when introduced
in 0207bdd2d4157c542c981264c86706b78ca246e9.
There is nothing special occurring here though - a simple read from and
assign to the underlying private attribute.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24474#comment:18>