Skip to content

Upgrade to Django 5.2 from 4.2#450

Draft
kofrezo wants to merge 2 commits into
mainfrom
dk_django_52
Draft

Upgrade to Django 5.2 from 4.2#450
kofrezo wants to merge 2 commits into
mainfrom
dk_django_52

Conversation

@kofrezo

@kofrezo kofrezo commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

No description provided.

The DB and Django ORM are out of sync here for some fields.
@kofrezo kofrezo self-assigned this Jun 12, 2026
@kofrezo kofrezo changed the title Dk django 52 Upgrade to Django 5.2 from 4.2 Jun 12, 2026
Replace APIs removed across Django 5.0/5.1 and bump dependencies.

- api/decorators: use datetime.timezone.utc instead of the
  django.utils.timezone.utc alias (removed in 5.0)
- serverdb/models: convert Meta.index_together to Meta.indexes
  (removed in 5.1); merge the new index into ServerInetAttribute's
  existing GistIndex list
- settings: drop USE_L10N (removed in 5.0; USE_TZ already True)
- Pipfile: Django ~=5.2, django-compressor ~=4.6 (5.2 support),
  django-extensions <5.0.0 (5.2 support)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant