Friday, May 29, 2020

Can You please help me out!!!

i want to fetch last 3 records for notification!!
But I only fetch last 1 record.

Can you please help me out!!!
Can i use filters??

And my model fields are:
title=
message=
date=

And i want to fetch last 3-4 records

--
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/CANaPPPJVprm5gE0FNFWqPDGdW_ciq15JQXLmjVHinJkHPwRdqQ%40mail.gmail.com.

No comments:

Post a Comment