Re: selecting single column from models

2011-12-24 Thread lankesh87
well the problem is solved I just had to put the name of the field in xyz.html and thus got the output. --- {% for x in bb %} {{ x.customer_handle }} {% endfor %} --

Re: selecting single column from models

2011-12-24 Thread lankesh87
Well i have solved the problem now I need to seperate the string: this is the output:

selecting single column from models

2011-12-24 Thread lankesh87
I am using sqlite3 as db and in django i want to use values from table. For e.g Customer table has value customer_id, customer_handle, token_auth_key,token_sec_key. my query in views.py is: x = Customer.objects.all(