Upgrade to Django 6 (#20) #26

Merged
westfarn merged 1 commits from ticket-20-django-6-upgrade into master 2026-07-14 05:13:55 -07:00
Owner

Summary

Closes #20.

  • Bump Django pin from >=5.2,<6 to >=6.0,<7 (resolved 6.0.7) and refresh uv.lock
  • Update TimeInfoBase.save for Django 6 keyword-only Model.save
  • Pass required_score directly to ReCaptchaV3 (removes django-recaptcha deprecation warning)
  • Fix Payments.date fixed default → callable timezone.now (+ migration 0012)

Reviewed against Django 6.0 release notes. DEFAULT_AUTO_FIELD already BigAutoField. No other removed APIs in use.

Compat notes

  • django-phonenumber-field 8.4.0 advertises Django 6.0 support
  • django-recaptcha 4.1.0 has no upper Django bound; classifiers still list through 5.2 only — smoke-tested via suite

Test plan

  • uv run python manage.py check — clean
  • uv run python manage.py test — 30 passed
  • CI unit tests green on this PR
  • Smoke board pages, membership form, auth/sign-in, recaptcha after merge/deploy
## Summary Closes #20. - Bump Django pin from `>=5.2,<6` to `>=6.0,<7` (resolved **6.0.7**) and refresh `uv.lock` - Update `TimeInfoBase.save` for Django 6 keyword-only `Model.save` - Pass `required_score` directly to `ReCaptchaV3` (removes django-recaptcha deprecation warning) - Fix `Payments.date` fixed default → callable `timezone.now` (+ migration `0012`) Reviewed against [Django 6.0 release notes](https://docs.djangoproject.com/en/6.0/releases/6.0/). `DEFAULT_AUTO_FIELD` already `BigAutoField`. No other removed APIs in use. **Compat notes** - `django-phonenumber-field` 8.4.0 advertises Django 6.0 support - `django-recaptcha` 4.1.0 has no upper Django bound; classifiers still list through 5.2 only — smoke-tested via suite ## Test plan - [x] `uv run python manage.py check` — clean - [x] `uv run python manage.py test` — 30 passed - [x] CI unit tests green on this PR - [ ] Smoke board pages, membership form, auth/sign-in, recaptcha after merge/deploy
westfarn added 1 commit 2026-07-14 05:13:29 -07:00
Upgrade Django from 5.2 to 6.0 (#20).
CI / test (pull_request) Successful in 4s
Unit Tests / test (pull_request) Successful in 3s
0365d4a2cb
Align Model.save with keyword-only Django 6 API, fix recaptcha score widget usage, and make Payments.date use a callable default.
westfarn merged commit 862b13a666 into master 2026-07-14 05:13:55 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/scha#26