mardi 26 février 2019

Display a message if loop is empty

I would like to display a message like "no content" using a "if" in my template.

I tried :

views.py

 

It does not work, thanks.

Aucun commentaire:

Enregistrer un commentaire