changed get_user_tavern_groups templatetag to template node

Now {% get_user_tavern_groups for request.user as user_tavern_groups %} will work in templates
done i have changed it to attendee.event

On Mon, Oct 6, 2014 at 12:34 PM, Akshar Raaj <notifications@github.com>
wrote:

> In tavern/models.py:
>
> > @@ -145,3 +145,9 @@ def get_unjoined_groups(user):
> >  def get_groups(user):
> >      user_groups = TavernGroup.objects.filter(members=user)
> >      return user_groups
> > +
> > +
> > +def get_rsvp_yes_events(user):
> > +    rsvp_yes_events = user.attendee_set.filter(rsvp_status='yes')
> > +    events = [event.event for event in rsvp_yes_events]
>
> @omkarvijay5 <https://github.com/omkarvijay5> [event.event] becomes
> confusing here. So shall we say it [attendee.event for attendee in
> rsvp_yes_attendees]?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/agiliq/opentavern/pull/57/files#r18442992>.
>