Jquery Ajax Autocomplete
Hello guys, In my project's home page I have two forms for input two mobiles name for comparison. So I need to integrate ajax autocomplete in those input forms. I tried according to "Mike Hibbert" youtube tutorial. I am freaking out about this issue. I have not enough time to do this. Plzzze help me :( I need it badly. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/75bd596f-ebdd-4cee-89c1-1bc6e768dad7%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: I can't figure out the django qeryset for retriving a value from a field by a condition
Hi, Kirby I found something. Is it will work? MyModel.objects.filter(mobile_name='xyz').values(total) Thanks for your support -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e5c401a4-47df-49f4-bd55-76aef1cc7eef%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: I can't figure out the django qeryset for retriving a value from a field by a condition
> > Hi Russ Magee > Thanks for your answer. I am confused a little bit. I think "MyModel.objects.filter(mobile_name='xyz')" line of code is like "SELECT * from table-xyz WHERE mobile_name=xyz" but I was looking for the alternative of "SELECT total FROM tablexyz WHERE mobile_name=xyz" Thanks in advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c6238374-3e56-4b28-b942-293abef7942e%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: I can't figure out the django qeryset for retriving a value from a field by a condition
> > Hi Russ Magee > Thanks for your answer, but I am confused sort of. I want the total value from the model. "MyModel.objects.filter(mobile_name='xyz')" is this line of code can fetch me the value of total field? Thanks in advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a8a5cd77-19d2-4b83-ac56-03d51c9cc3a8%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
I can't figure out the django qeryset for retriving a value from a field by a condition
HI, My model like this > *mobile_name = models.CharField("Mobile Name", max_length=50)* * opinion = models.CharField('Comments', max_length=2000)* * total = models.FloatField('Total Mark')* the sql qery should like this "SELECT total FROM tablexyz WHERE mobile_name=xyz" Thanks in advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/faf3674f-c1c6-41f6-98c6-a01b12d5d6f9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.