Re: while loop in django

2013-09-19 Thread Lee Hinde
Just a stab… https://docs.djangoproject.com/en/1.5/ref/templates/builtins/#ifchanged The sample code shows you how to move through a selection and how to test changes. On Sep 19, 2013, at 12:53 AM, Harjot Mann wrote: > On Thu, Sep 19, 2013 at 12:45 PM, Leonardo Giordani > wrote: >> Can you

Re: while loop in django

2013-09-19 Thread Leonardo Giordani
Harjot, with so little information is very difficult to help you, you should try to give a description of your models and exactly what you want to do. What are the "values" and the "job-id" you are talking about? And what about "differences"? About the while loop: in Python it is used this way ht

Re: while loop in django

2013-09-19 Thread Harjot Mann
On Thu, Sep 19, 2013 at 12:45 PM, Leonardo Giordani wrote: > Can you perhaps better describe what you are trying to do? > Do you need it in a view or in a template? In views I want to add two values having same job-id in my app but having some other differences. Please tell me how can I do that

Re: while loop in django

2013-09-19 Thread Leonardo Giordani
Can you perhaps better describe what you are trying to do? Do you need it in a view or in a template? Regards Leonardo Giordani Author of The Digital Cat My profile on About.me - My GitHub page- My Cod

while loop in django

2013-09-18 Thread Harjot Mann
Please tell me how to use while loop indjango so that marks of students can be added untill the same roll number is going on? -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ Daily Dairy: http://harjotmann.wordpress.com/daily-diary/ -- You received this message because you are subscri