From a908901ca95c7e7740de92120be0c5e78d706fa5 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Sun, 4 Mar 2018 14:45:25 -0500 Subject: [PATCH] Limit event and team listing to only those the user is connected to. --- get_together/templates/get_together/base.html | 7 +++++-- .../get_together/events/list_events.html | 2 +- get_together/templates/get_together/index.html | 8 ++++++-- .../get_together/teams/list_teams.html | 17 ++--------------- .../get_together/users/edit_profile.html | 3 ++- .../get_together/users/show_profile.html | 10 ++++++++-- get_together/views/events.py | 2 +- get_together/views/teams.py | 8 ++++---- get_together/views/user.py | 4 +++- 9 files changed, 32 insertions(+), 29 deletions(-) diff --git a/get_together/templates/get_together/base.html b/get_together/templates/get_together/base.html index 4ce3bbf..6dae17c 100644 --- a/get_together/templates/get_together/base.html +++ b/get_together/templates/get_together/base.html @@ -54,16 +54,19 @@ form {