[Django] #28298: Alter field adds constaint on column db_constraint=False

10 views
Skip to first unread message

Django

unread,
Jun 10, 2017, 11:26:37 PM6/10/17
to django-...@googlegroups.com
#28298: Alter field adds constaint on column db_constraint=False
-----------------------------------------+------------------------
Reporter: Josh Schneier | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
Noticed [https://groups.google.com/forum/#!topic/django-
developers/2KL4jBySoHc| on the mailing list].

--
Ticket URL: <https://code.djangoproject.com/ticket/28298>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Jun 10, 2017, 11:29:48 PM6/10/17
to django-...@googlegroups.com
#28298: Alter field adds constaint on column db_constraint=False
-------------------------------+--------------------------------------

Reporter: Josh Schneier | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by Josh Schneier):

[https://github.com/django/django/pull/8628| PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/28298#comment:1>

Django

unread,
Jun 10, 2017, 11:30:09 PM6/10/17
to django-...@googlegroups.com
#28298: Alter field adds constaint on column db_constraint=False
-------------------------------+------------------------------------

Reporter: Josh Schneier | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Josh Schneier):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/28298#comment:2>

Django

unread,
Jun 12, 2017, 9:40:12 PM6/12/17
to django-...@googlegroups.com
#28298: Alter field adds constaint on column db_constraint=False
-------------------------------+------------------------------------

Reporter: Josh Schneier | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Tim Graham):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/28298#comment:3>

Django

unread,
Jun 22, 2017, 1:35:19 PM6/22/17
to django-...@googlegroups.com
#28298: Alter field adds constaint on column db_constraint=False
-------------------------------+------------------------------------

Reporter: Josh Schneier | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Tim Graham):

* needs_better_patch: 1 => 0


--
Ticket URL: <https://code.djangoproject.com/ticket/28298#comment:4>

Django

unread,
Jun 22, 2017, 9:57:03 PM6/22/17
to django-...@googlegroups.com
#28298: Alter field adds constaint on column db_constraint=False
-------------------------------+------------------------------------

Reporter: Josh Schneier | Owner: nobody
Type: Bug | Status: closed
Component: Migrations | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

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


Comment:

In [changeset:"7765d3ba9b02d612f7c466f5ca0ea8fba1405372" 7765d3b]:
{{{
#!CommitTicketReference repository=""
revision="7765d3ba9b02d612f7c466f5ca0ea8fba1405372"
[1.11.x] Fixed #28298 -- Prevented a primary key alteration from adding a
foreign key constraint if db_constraint=False.

Backport of fba0eaa5d60603721d7b4653e3efacbfb3613bd2 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28298#comment:5>

Django

unread,
Jun 22, 2017, 9:57:46 PM6/22/17
to django-...@googlegroups.com
#28298: Alter field adds constaint on column db_constraint=False
-------------------------------+------------------------------------

Reporter: Josh Schneier | Owner: nobody
Type: Bug | Status: closed
Component: Migrations | Version: master

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"fba0eaa5d60603721d7b4653e3efacbfb3613bd2" fba0eaa5]:
{{{
#!CommitTicketReference repository=""
revision="fba0eaa5d60603721d7b4653e3efacbfb3613bd2"


Fixed #28298 -- Prevented a primary key alteration from adding a foreign
key constraint if db_constraint=False.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28298#comment:6>

Reply all
Reply to author
Forward
0 new messages