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
http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/whilestatements.html
In Django views (being them Python) you can do the same. In the Django
Template Language there is no while loop available. You can write a tag on
your own, but I suggest you to try and clarify your issue, so that we can
come up with a solution.

Regards,

Leo

Leonardo Giordani
Author of The Digital Cat <http://lgiordani.github.com>
My profile on About.me <http://about.me/leonardo.giordani> - My GitHub
page<https://github.com/lgiordani>- My Coderwall
profile <https://coderwall.com/lgiordani>


2013/9/19 Harjot Mann <harjotmann1...@gmail.com>

> On Thu, Sep 19, 2013 at 12:45 PM, Leonardo Giordani
> <giordani.leona...@gmail.com> 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 and
> also I dont know how to use while loop.please tell me.
>
> --
> Harjot Kaur Mann
> Blog: http://harjotmann.wordpress.com/
> Daily Dairy: http://harjotmann.wordpress.com/daily-diary/
>
> --
> 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.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to