0
Convert MySQL to django model object
MySQL>>Select mobile from student where name=ravan MyModel.objects............??
4 ответов
0
Mymodel.objects.filter(name='ravan')
0
I want mobile value
0
To get that just iterate over the response provided by filter an access the mobile field
0
I got the resui
Mymodel.objects.filter(name='ravan')[0].mobile