Skip to content

Commit 59a6ffe

Browse files
authored
Merge pull request #300 from ulgens/django6.0
Django 6.0
2 parents 16c60e2 + fc4fcc2 commit 59a6ffe

5 files changed

Lines changed: 7857 additions & 5 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ default_language_version:
33
python: python3.13
44
repos:
55
- repo: https://github.com/adamchainz/django-upgrade
6-
rev: 1.24.0
6+
rev: 1.29.1
77
hooks:
88
- id: django-upgrade
9-
args: [--target-version, "5.2"]
9+
args: [--target-version, "6.0"]
1010

1111
- repo: https://github.com/ambv/black
1212
rev: 24.4.2

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)