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 <naveenarorakrnl@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 NaveenaI have a model belowI 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 epxectedAny ideas would be awesome to shareOn 3 Mar 2020, at 11:13, Naveen Arora <naveena...@gmail.com> wrote:Hi,Can you explain what you are trying to achieve clearly.?RegardsNaveen Arora
On Sunday, 1 March 2020 19:06:02 UTC+5:30, Perceval Maturure wrote:Hi Teamis 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 Maturure083 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
--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/60242ac5-070a-4a61-8ca9-5478a218f7e7%40googlegroups.com.

No comments:
Post a Comment