{% load cache %} {% load cachalot cache %} {% get_last_invalidation 'core.Drug' as last %} {% include 'mixins/partials/notify.html' %} {% cache 600 objects_drugs request.user.id object_list last %}
id | name | drug class | common name | links | dosages | timings | effects | actions | experiences | actions | {% for item in object_list %}
---|---|---|---|---|---|---|---|---|---|---|
{{ item.id }} | {{ 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 }} |