Skip to content

Commit

Permalink
Update 2024-04-23-how-to-upgrade-dj-stripe-flawlessly.md
Browse files Browse the repository at this point in the history
  • Loading branch information
agusmakmun authored Apr 23, 2024
1 parent 004ea44 commit 6830542
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _posts/2024-04-23-how-to-upgrade-dj-stripe-flawlessly.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@ Check out this issue for more information: https://github.com/dj-stripe/dj-strip
stripe>=4.0.0,<5.0.0 # https://github.com/dj-stripe/dj-stripe/issues/1842#issuecomment-1319185657
```


### Conclusion

1. Find the closest version that compatible with your version _(for doing migration)_.
2. Update the dependency in `requirements.txt` file and then deploy it.
- Don't forget to run the `python manage.py migrate djstripe` command.
3. Change your migration file to refer to the new version (e.g., from `0006_2_3` to `0008_2_5`), and then deploy it.


### Alternatives

- https://stackoverflow.com/a/31122841

0 comments on commit 6830542

Please sign in to comment.