Skip to content

Commit 7d254c5

Browse files
committed
Add missing step for generating fixtures
When the new version is not installed, the commands from following steps doesn't detect the new version
1 parent 2568bcb commit 7d254c5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Run `make compile` and appropriate txt file will be updated.
3838
## Add data for new versions of Django
3939
1. Update the `requirements.prod.in` file to pin the new version of Django, eg `django==5.1`
4040
1. Run `make compile` to compile this change to `requirements.prod.txt`
41+
1. Install the new requirements with `make build`
4142
1. Run `python manage.py populate_cbv` to introspect the installed Django and populate the required objects in the database
4243
1. Run `python manage.py fetch_docs_urls` to update the records in the database with the latest links to the Django documentation, this will fail at 1.9, this is expected
4344
1. Export the new Django version into a fixture with `python manage.py cbv_dumpversion x.xx > cbv/fixtures/x.xx.json`

0 commit comments

Comments
 (0)