Opened 6 years ago

Closed 4 years ago

Last modified 4 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: master
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 Changed 6 years ago by Tim Graham

Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature

comment:2 Changed 6 years ago by andrei kulakov

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 Changed 4 years ago by Tobias Kunze

Owner: changed from nobody to Tobias Kunze
Status: newassigned

comment:4 Changed 4 years ago by Markus Holtermann

Patch needs improvement: set
Version: 1.7master

comment:5 Changed 4 years ago by Tobias Kunze

Has patch: set

comment:6 Changed 4 years ago by Tobias Kunze

Patch needs improvement: unset

comment:7 Changed 4 years ago by Russell Keith-Magee <russell@…>

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 Changed 4 years ago by Tim Graham <timograham@…>

In c643b4c9:

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

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

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