#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.

Attachments (0)

Change History (1)

comment:1 Changed 13 months ago by lukeplant

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to needsinfo
  • Status changed from new to closed
  • Triage Stage changed from Unreviewed to Accepted

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.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.