Skip to content

Fix: Replace deprecated index_together with indexes for Django 5.0#434

Closed
Eeshu-Yadav wants to merge 1 commit intoopenwisp:masterfrom
Eeshu-Yadav:fix/django5-index-together
Closed

Fix: Replace deprecated index_together with indexes for Django 5.0#434
Eeshu-Yadav wants to merge 1 commit intoopenwisp:masterfrom
Eeshu-Yadav:fix/django5-index-together

Conversation

@Eeshu-Yadav
Copy link
Copy Markdown

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Reference to Existing Issue

Closes #433 .

Changes

  • Replaced index_together with indexes in AbstractUser.Meta.
  • Maintained backward compatibility with older Django versions.

Files Modified

  • openwisp_users/base/models.py

Screenshot

Before : Image

@pandafy
Copy link
Copy Markdown
Member

pandafy commented Apr 1, 2025

Superseded by #435

@pandafy pandafy closed this Apr 1, 2025
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.

[bug] Django 5.0+ Compatibility: Replace index_together with indexes

2 participants