This below code in Django is printing same results all the time. Even if there are more rows in the mysql DB. Please Help.
There was something important I missed. The above is giving proper results but below one is not. I am using slave db here to read. But question still remains the same. Does this mean that there is some slave db configuration that is creating problem?