Skip to content

Conversation

RedBeardCode
Copy link
Owner

@RedBeardCode RedBeardCode commented Jun 8, 2024

Trac ticket number

ticket-33604

Branch description

Based on the great work of @alexei I try to make my first pull request. The origin PR django#15553 seems to be abandoned. So I tried implement the things mentioned in the comment. I hope I didn't missed something.

This update allows to set the key_prefix as a callable.

Discussions:
https://code.djangoproject.com/ticket/33604
https://groups.google.com/g/django-developers/c/UbD1DkV1uPo

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! Thank you for your contribution 💪

As it's your first contribution be sure to check out the patch review checklist.

If you're fixing a ticket from Trac make sure to set the "Has patch" flag and include a link to this PR in the ticket!

If you have any design or process questions then you can ask in the Django forum.

Welcome aboard ⛵️!

@RedBeardCode RedBeardCode force-pushed the feat-issue-33604-callable_key_prefix branch 3 times, most recently from 512cbd3 to 646d30d Compare June 8, 2024 14:54
Based on the great work of https://github.com/sailoboats I try to make
my first pull request. The origin PR django#15553 seems to be abandoned.
So I tried implement the things mentioned in the comment. I hope I
didn't missed something.
@RedBeardCode RedBeardCode force-pushed the feat-issue-33604-callable_key_prefix branch from 646d30d to 4fc24cc Compare June 8, 2024 15:00
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.

4 participants