In this django project, there are a lot of models and we want to add a custom queryset and a manager to each using the queryset.as_manager without having to specify it in each model by hand.
All the queryset/managers are organized in a parallel structure to each model in a manager.py folder in the individual django apps.
Since the managers are a class level attribute, adding them in the init does not work and django does some pretty fancy meta programming so what's the right way to do this? Both Django 1.7 and 1.8 are acceptable. Thanks
(I get that the pythonic way is explicit better than implicit but it seems to be a a lot of crud code here so is there a Meta way of doing this.)