Skip to content

Commit

Permalink
Delete an old utility method used for emails
Browse files Browse the repository at this point in the history
This method isn't in use, and its body is commented out.
  • Loading branch information
DavidCain committed Jul 15, 2022
1 parent cdddc39 commit b32b7b5
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ws/signals/signup_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,6 @@ def leader_signup(sender, instance, created, raw, using, update_fields, **kwargs
trip.leaders.add(instance.participant)


def get_trip_link(trip):
# trip_url = reverse('view_trip', args=(trip.id,))
# return '<a href="{}">"{}"</a>'.format(trip_url, trip)
return trip # TODO: The link above only does relative URL


@receiver(post_save, sender=Trip)
def add_waitlist(sender, instance, created, raw, using, update_fields, **kwargs):
if created:
Expand Down

0 comments on commit b32b7b5

Please sign in to comment.