dimanche 28 mai 2017

List 8 latest/recent values in Jinja2 based on their created date

I'm just new to Python with Jinja2 templating in HTML. I need to display the top 8 recent registered users on front-end, but it doesn't display the most recent users based on their created_date, and shows 12 users. Here's my code:

<ul class="users-list clearfix">
   
 </ul>




Aucun commentaire:

Enregistrer un commentaire