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

Update contrib.admin.models.LogEntryManager #2423

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JaeHyuckSa
Copy link
Contributor

I have made things!

Related issues

Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Please, make log_action as deprecated: https://github.com/django/django/blob/373cb3037fe4e67adbac9ac43340391e859aa957/django/contrib/admin/models.py#L39

and type queryset: Queryset[] type param.

@JaeHyuckSa
Copy link
Contributor Author

JaeHyuckSa commented Oct 27, 2024

Please, make log_action as deprecated: https://github.com/django/django/blob/373cb3037fe4e67adbac9ac43340391e859aa957/django/contrib/admin/models.py#L39

and type queryset: Queryset[] type param.

I often come across methods marked with RemovedInDjango60Warning in Django, and it seems these aren’t fully addressed in django-stubs yet — or is there something I might be missing? Would it be better to handle these using a deprecated decorator, or should we add a category to the allowlist?

If you could provide some guidance, I’ll go ahead and create a PR to address this more thoroughly.

@sobolevn
Copy link
Member

Would it be better to handle these using a deprecated decorator

Yes, I think that we should apply this decorator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants