{% load cache %} {% load cachalot cache %} {% get_last_invalidation 'core.Favourite' as last %} {% include 'mixins/partials/notify.html' %} {% cache 600 objects_favourittes request.user.id object_list last %}
id | nickname | prices | name | drug class | common name | links | dosages | timings | effects | actions | experiences | actions | {% for item in object_list %}
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ item.id }} | {{ item.nickname }} | {{ item.prices.count }} | {{ item.name }} | {{ item.drug_class }} | {{ item.common_name }} | {{ item.links.count }} | {{ item.dosages.count }} | {{ item.timings.count }} | {{ item.effects.count }} | {{ item.actions.count }} | {{ item.experiences.count }} |