Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#24016 closed New feature (fixed)

Document how to migrate data between two external apps

Reported by: John-Scott Atlakson Owned by: Tobias Kunze
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The docs do not mention best practices of how to migrate data between two external apps (whose migrations you do not control). I attempted to solve this on my own and ran into issues which required (in the interest of time) ugly solutions.

For now I'm assuming the preferred method just needs to be documented (I clearly have no idea what this is) and that there is not some fundamental bug in the migrations system that prevents a reasonable approach.

I was directed to open a ticket after discussing this issue on the users mailing list https://groups.google.com/d/msg/django-users/SPXOBZN0b5g/_8ibzrqWE1QJ
This post contains specific details of the problem as well as the flawed approach I took. Appreciate any feedback concerning best practices for this problem type.

Change History (9)

comment:1 by Tim Graham, 10 years ago

Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature

comment:2 by andrei kulakov, 10 years ago

You could argue that migrations between 3rd party apps are one-off type of thing and should be handled by a custom script, and is a very different use case than migrating within your own app which is a continuous process in larger apps. Does that make sense?

comment:3 by Tobias Kunze, 9 years ago

Owner: changed from nobody to Tobias Kunze
Status: newassigned

comment:4 by Markus Holtermann, 9 years ago

Patch needs improvement: set
Version: 1.7master

comment:5 by Tobias Kunze, 9 years ago

Has patch: set

comment:6 by Tobias Kunze, 9 years ago

Patch needs improvement: unset

comment:7 by Russell Keith-Magee <russell@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In b7ea494:

Fixed #24016 -- Added documentation about third-party app data migrations

There was confusion about how to migrate data from third-party

applications when you are going to uninstall the application later on.

Thanks to Markus, Marten and Sergei for help and review.

comment:8 by Tim Graham <timograham@…>, 9 years ago

In c643b4c9:

Refs #24016 -- Edited "Migrating data between third-party apps" howto.

comment:9 by Tim Graham <timograham@…>, 9 years ago

In 59ae2292:

[1.9.x] Fixed #24016 -- Added "Migrating data between third-party apps" howto.

Thanks to Markus, Marten and Sergei for help and review.

Backport of b7ea494d65e4d9703a0a24f0cd708293df88f48b and
c643b4c9f2acfdcb562bdbec1d74ac797b890b9b from master

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