Re: Problem with Mysql Quires in django

2010-10-27 Thread Daniel Roseman
On Oct 27, 10:19 am, Jagdeep Singh Malhi wrote: > hi > I want to use this mysql Query > " SELECT count(*) as class_roll_no FROM student_profile where > class_roll_no !='00 '  "; > in my  view file > > Is it possible? > > I try this code > view.py file is : > > from django.shortcuts import render_t

Problem with Mysql Quires in django

2010-10-27 Thread Jagdeep Singh Malhi
hi I want to use this mysql Query " SELECT count(*) as class_roll_no FROM student_profile where class_roll_no !='00 ' "; in my view file Is it possible? I try this code view.py file is : from django.shortcuts import render_to_response from mysite.student.models import Profile from django.db.mo