--
Ticket URL: <https://code.djangoproject.com/ticket/24099>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* stage: Unreviewed => Accepted
Comment:
Do you think this needs a deprecation cycle in some way?
--
Ticket URL: <https://code.djangoproject.com/ticket/24099#comment:1>
Comment (by claudep):
See the proposed PR: https://github.com/django/django/pull/3858
Passing the `name` field when creating a ContentType is still allowed, but
the field is simply discarded and a warning is emitted. I think that it's
important to allow for example for existing fixtures to still be used.
Hopefully this deprecation strategy will be enough, usage will tell.
--
Ticket URL: <https://code.djangoproject.com/ticket/24099#comment:2>
* has_patch: 0 => 1
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/24099#comment:3>
* stage: Ready for checkin => Accepted
Comment:
The migration is not reversible because the `name` field is not nullable.
I don't think this is acceptable. Does someone know about a workaround?
Should we add an intermediary migration?
--
Ticket URL: <https://code.djangoproject.com/ticket/24099#comment:4>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/24099#comment:5>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/24099#comment:6>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"b4ac23290772e0c11379eb2dfb81c750b7052b66"]:
{{{
#!CommitTicketReference repository=""
revision="b4ac23290772e0c11379eb2dfb81c750b7052b66"
Fixed #24099 -- Removed contenttype.name deprecated field
This finsishes the work started on #16803.
Thanks Simon Charette, Tim Graham and Collin Anderson for the
reviews.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24099#comment:7>
Comment (by Tim Graham <timograham@…>):
In [changeset:"75374d3797c2cd2423982a870bb0bc74821e951f" 75374d3]:
{{{
#!CommitTicketReference repository=""
revision="75374d3797c2cd2423982a870bb0bc74821e951f"
Refs #24099 -- Removed compatibility shim for ContentType.name field.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24099#comment:8>