Skip to content

Commit

Permalink
use the publication repr method to present all the required fields of…
Browse files Browse the repository at this point in the history
… pub
  • Loading branch information
AnishReddyRavula committed Nov 2, 2023
1 parent 406fc92 commit 5d3b32c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions projects/pub_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@
def _send_publication_notification(charge_code, pubs):
subject = f"Project {charge_code} added new publications"
formatted_pubs = [
f"<li>{pub.title}, {pub.author}, \
In <i>{pub.forum}</i>. {pub.year}.</li> - {pub.pub_admin_page()}"
f"<li>{pub}<br><br></li>"
for pub in pubs
]
body = f"""
Expand Down

0 comments on commit 5d3b32c

Please sign in to comment.