Skip to content

[MISC] Update pre-commit - #58

Merged
ppfeufer merged 1 commit into
masterfrom
update-pre-commit
Jul 24, 2026
Merged

[MISC] Update pre-commit#58
ppfeufer merged 1 commit into
masterfrom
update-pre-commit

Conversation

@ppfeufer

Copy link
Copy Markdown
Owner

Description

Changed

  • Use pk instead of id when referring to the primary key of a model instance, since id is not guaranteed to be the primary key in Django.

Type of Change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality not to work as expected)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have checked my code and corrected any misspellings

@ppfeufer
ppfeufer force-pushed the update-pre-commit branch from 9fb657c to 2b833be Compare July 24, 2026 21:23
@ppfeufer
ppfeufer merged commit c9bf66a into master Jul 24, 2026
15 checks passed
@ppfeufer
ppfeufer deleted the update-pre-commit branch July 24, 2026 21:26
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