Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

date_hierarchy with history_date #1298

Open
taleisa opened this issue Jan 24, 2024 · 0 comments
Open

date_hierarchy with history_date #1298

taleisa opened this issue Jan 24, 2024 · 0 comments

Comments

@taleisa
Copy link

taleisa commented Jan 24, 2024

Problem Statement
I'm trying to use date hierarchy in Django admin with the earliest history date of an instance. This acts like a date_hierarchy for instance creation date.

Describe the solution you'd like
Ability to use date_hierarchy with history_date or earliest history date in my case

Describe alternatives you've considered
Tried turning off date_hierarchy checks in admin page to annotate QuerySet with earliest history_date. But the value of date_hierarchy needs to be available to the database.

Additional context

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

No branches or pull requests

1 participant