You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dumpdata from the old promotions app pre upgrade to Oscar 2.
Modify that dump to change the app name to oscar_promotions.
loaddata after upgrading to Oscar 2.
There may be some other small adjustments needed for this to work, but the model structures haven't changed so broadly speaking this should be feasible.
It wouldn't be possible to have an automated command - as you cannot have both the old promotions app and the new one installed at the same time. It might be possible to make one that dumps and manipulates data ready for loading after upgrade.
It seems like very few projects were actually using the promotions app, so this is unlikely to be a priority for us. If you're willing/able to do that then it would be appreciated and I'm happy to review.
When upgrading a site to Oscar 2.0, what is the recommended way to migrate existing promotional content to this new standalone application?
The text was updated successfully, but these errors were encountered: