Is possible to get the last n items in the Django model, using the reverse relationship.
{% for brand in brands %}
{% for product in brand.product_set.all %}
{% endfor %}
{% endfor %}
I am tried in this way, But it prints all things. But want only last 3 items