Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ default_language_version:
python: python3.13
repos:
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.24.0
rev: 1.29.1
hooks:
- id: django-upgrade
args: [--target-version, "5.2"]
args: [--target-version, "6.0"]

- repo: https://github.com/ambv/black
rev: 24.4.2
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Run `make compile` and appropriate txt file will be updated.
## Add data for new versions of Django
1. Update the `requirements.prod.in` file to pin the new version of Django, eg `django==5.1`
1. Run `make compile` to compile this change to `requirements.prod.txt`
1. Install the new requirements with `make build`
1. Run `python manage.py populate_cbv` to introspect the installed Django and populate the required objects in the database
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
1. Export the new Django version into a fixture with `python manage.py cbv_dumpversion x.xx > cbv/fixtures/x.xx.json`
Expand Down
Loading