Hey,<div><br></div><div>One way to do this is using Django's extra queryset modifier. </div><div><br></div><div><a href="https://docs.djangoproject.com/en/1.0/ref/models/querysets/#extra-select-none-where-none-params-none-tables-none-order-by-none-select-params-none">https://docs.djangoproject.com/en/1.0/ref/models/querysets/#extra-select-none-where-none-params-none-tables-none-order-by-none-select-params-none</a></div>
<div><br></div><div>I have both the queries and the original Django queryset and will try to rewrite them using extra.</div><div><br></div><div>Thanks</div><div>Siddharth</div><div><br></div><div>P.S.: I am new here. So a warm hello. Also please let me know if I am violating any decorum.</div>