Skip to content

Commit 7935290

Browse files
authored
Update README.md
1 parent 60cbde5 commit 7935290

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ That might be acceptable depending on your use of those operations and if you ne
2828

2929
## Installation
3030

31+
Before you install, read the workflow below. You need to have the app installed in your project only on a specific branch temporarily.
32+
3133
Run
3234

3335
```
@@ -70,7 +72,8 @@ The workflow for this would be:
7072
* commit and note the commit hash
7173
* `git checkout 2.0`
7274
* create a new branch `git checkout -b 2-0-replace-migrations`
73-
* run `./manage.py makemigrations --replace-all --name replace_2_0 [app1, app2, ...]` ([How to get all apps](https://stackoverflow.com/questions/4111244/get-a-list-of-all-installed-applications-in-django-and-their-attributes))
75+
* Install `django-replace-migration` here.
76+
* run `./manage.py makemigrations --replace-all --name replace_2_0 app1, app2, ...` ([How to get all apps](https://stackoverflow.com/questions/4111244/get-a-list-of-all-installed-applications-in-django-and-their-attributes))
7477
* commit and note the commit hash
7578
* `git checkout [your main/feature branch]`
7679
* `git cherry-pick [commit-hash from 2-0-delete-migrations]`

0 commit comments

Comments
 (0)