diff options
author | CruiseDevice | 2019-12-16 16:19:53 +0530 |
---|---|---|
committer | CruiseDevice | 2019-12-16 16:19:53 +0530 |
commit | 9c4cce24e617b7d952edc83d114c5c4361adb69a (patch) | |
tree | e8fb9f187bc541e920639e1cbe7f5fcf098e1c81 /workshop_app/views.py | |
parent | b348ac579b50ad7b83b020ef213454ca1469538b (diff) | |
download | workshop_booking-9c4cce24e617b7d952edc83d114c5c4361adb69a.tar.gz workshop_booking-9c4cce24e617b7d952edc83d114c5c4361adb69a.tar.bz2 workshop_booking-9c4cce24e617b7d952edc83d114c5c4361adb69a.zip |
Fixes #108
Diffstat (limited to 'workshop_app/views.py')
-rw-r--r-- | workshop_app/views.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/workshop_app/views.py b/workshop_app/views.py index def8665..3ebae9f 100644 --- a/workshop_app/views.py +++ b/workshop_app/views.py @@ -683,7 +683,6 @@ def my_workshops(request): # team_members = list(set(user.profile.team_set.all().values_list('members', flat=True))) teams = Team.objects.filter(members=user.profile) - team_workshops = [] if teams: team_members = Profile.objects.filter(team__in=teams).exclude(id=user.profile.id).distinct() @@ -692,7 +691,6 @@ def my_workshops(request): proposed_workshop_date__gte=today, proposed_workshop_instructor_id__in=team_member_ids, ) - print(team_workshops) return render(request, 'workshop_app/my_workshops.html', { "workshops" :workshops, |