pythondotorg icon indicating copy to clipboard operation
pythondotorg copied to clipboard

Tests: Investigate `OrderedModelManager` warning for Sponsor models

Open JacobCoffee opened this issue 6 months ago • 3 comments

Investigate separately these non-failing warnings

WARNINGS:
SponsorshipBenefit: (ordered_model.W003) OrderedModelBase subclass has a ModelManager that does not inherit from OrderedModelManager. This is not ideal but will work.
SponsorshipPackage: (ordered_model.W003) OrderedModelBase subclass has a ModelManager that does not inherit from OrderedModelManager. This is not ideal but will work.

Originally posted by @JacobCoffee in https://github.com/python/pythondotorg/issues/2741#issuecomment-2970938615

JacobCoffee avatar Jun 13 '25 16:06 JacobCoffee

Hi @JacobCoffee, I’d be happy to tackle this cleanup. I can update both SponsorshipBenefit and SponsorshipPackage to use managers that inherit from OrderedModelManager. Would you mind assigning this issue to me? Let me know if there’s anything else I should be aware of before I open a PR. Thanks!

Irfan-Ansari-stm avatar Jul 17 '25 23:07 Irfan-Ansari-stm

Hi @JacobCoffee! I'd love to work on this issue as my first open-source contribution. I'll fork the repo and start looking into it, please let me know if there's anything specific I should keep in mind. Thanks!

MisbahAN avatar Jul 30 '25 22:07 MisbahAN

@JacobCoffee hey is this issue still open i would like to work on this , please let me know.

prabhath004 avatar Oct 30 '25 15:10 prabhath004