You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2021. It is now read-only.
Currently the peson_events tag is hardcoded to show only all_forthcoming events, but I wanted to list all people's talks on our people's pages (or maybe limit to the last 5...)
Change the person_events function defn in news_and_events_tags.py to:
Currently the peson_events tag is hardcoded to show only all_forthcoming events, but I wanted to list all people's talks on our people's pages (or maybe limit to the last 5...)
Change the person_events function defn in news_and_events_tags.py to:
and one line:
keeps the current behaviour as default, but allows:
{% person_events "archive" %}
to display all events where a person is featured.
possibly some or all of the other variables hard-coded into the instance variable in the person_events function could also be optionally set this way.
The text was updated successfully, but these errors were encountered: