Monday, November 4, 2013

Re:

Hi,

please include the relevant part of the models and the views when asking such questions, otherwise it is very difficult for people to help you.

I'd say that the problem is in the query extracting the values you are showing. You say you do not want number 22 to appear twice: if  there are two entries with the same number it is clearly not a primary key, so probably you are filtering on the wrong column.

Leo

Leonardo Giordani
Author of The Digital Cat
My profile on About.me - My GitHub page - My Coderwall profile


2013/11/1 Harjot Mann <harjotmann1992@gmail.com>
The following picture is displaying is showing the html template
results in which it is shown that the number 22 repeats two times and
it is having separate ref numbers, and I want that the repeated values
should not appear twice.
ex: some amount line 5301 is appearing in both but i dnt need it, I
only need it once.
any idea how to do it?


http://202.164.53.122/~harjotmann/errors/susreg.png

--
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+unsubscribe@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/CAB0GQhBLO75C3KF-g0QVxzh2wWUbnqmJ6VmZvEFp%3DyY9ur2FaQ%40mail.gmail.com.
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+unsubscribe@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/CAEhE%2BO%3Ddu1b8T61ToJZNgnYzM7vBpNXqH82cVD%3DfdxT0qgTLTw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment