Hi Naveen. Yes, that’s correct, I want to display the first 6 according to date. Each record has to be in its own cell using a bootstrap 2 row and 3 column table. Regards
> On 4 Mar 2020, at 08:53, Naveen Arora <naveenarorak...@gmail.com> wrote: > > So you want to display data from this model to six cards, but how..i mean > each row can be said as "one data" so you want to display 6 rows of this > table basically on 6 rows. Another question is how you want to filter the > data, first 6 rows according to date, etc. ? > > if you want to display first 6 responses of .all(), you can easily do it > using " [ 0 : 6 ] " > > On Tuesday, 3 March 2020 15:31:10 UTC+5:30, Perceval Maturure wrote: > Hi Naveena > > I have a model below > > I I want to display records in the db on six cards as the end date is past > then the record is removed from the list. I tried to use indexes but it dint > work as epxected > Any ideas would be awesome to share > >> On 3 Mar 2020, at 11:13, Naveen Arora <naveena...@gmail.com <>> wrote: >> >> Hi, >> >> Can you explain what you are trying to achieve clearly.? >> >> Regards >> Naveen Arora >> >> On Sunday, 1 March 2020 19:06:02 UTC+5:30, Perceval Maturure wrote: >> Hi Team >> is there anyone who has tried to display data from a table to six different >> cards, when another record is added the first initialy is replaced ? >> regards >> >> >> -- >> Perceval Maturure >> 083 303 9423 >> >> >> -- >> 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...@googlegroups.com <>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/django-users/0299d7d7-13f2-49a5-859f-4b3343f88625%40googlegroups.com >> >> <https://groups.google.com/d/msgid/django-users/0299d7d7-13f2-49a5-859f-4b3343f88625%40googlegroups.com?utm_medium=email&utm_source=footer>. > > > -- > 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 > <mailto:django-users+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/60242ac5-070a-4a61-8ca9-5478a218f7e7%40googlegroups.com > > <https://groups.google.com/d/msgid/django-users/60242ac5-070a-4a61-8ca9-5478a218f7e7%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/AFB7A6F5-1CF4-4F45-A786-53A68CC8E5BF%40gmail.com.