mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
127 stars 41 forks source link

combine uses of Addon.objects and Addon.with_unlisted #3767

Closed eviljeff closed 7 years ago

eviljeff commented 7 years ago

Addon.objects contains all listed, not deleted, add-ons (filter on .is_listed); Addon.with_unlisted contains both listed and unlisted (not deleted) add-ons. With mixed listed/unlisted versions Addon.objects will contain add-ons that contain unlisted versions; Addon.with_unlisted will be obsolete.

Tasks:

diox commented 7 years ago

Added a gigantic list of files to check.

Random notes from IRC discussion with @eviljeff :

diox commented 7 years ago

All usage of Addon.objects should have been fixed now, so we can start working on changing the managers. I'll do that.