Opened 6 years ago

Closed 6 years ago

#20118 closed Bug (needsinfo)

Upgrade from Django 1.4 to 1.5 creates South migration

Reported by: coolRR Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


I noticed that South suddenly wants to create a new schema migration. I'm guessing that this is due to my upgrade from Django 1.4 to Django 1.5.

The migrations added on_delete=models.SET_NULL, I believe.

I suggest that this become part of the upgrade guide. Better have South create and apply those migrations as quickly as possible after the upgrade, instead of discovering it some time afterwards.

Change History (1)

comment:1 Changed 6 years ago by Luke Plant

Resolution: needsinfo
Status: newclosed
Triage Stage: UnreviewedAccepted

This is technically an external problem, as South is not part of Django. But it will be soon, because it is a de-facto standard, so I will accept on that basis.

However, I can't personally verify this (in one project in which I've moved to 1.5 I've got some models with null=True, and on_delete=models.SET_NULL, and haven't seen this), and we'd need to know the exact circumstances under which it happens. Please re-open when you can do so.

Note: See TracTickets for help on using tickets.
Back to Top