From 1f9812777852bef79c90f9f8450c253e5c34d59e Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 14 Jun 2022 19:33:19 -0500 Subject: [PATCH] add opponent views and forms --- benchcoach/templates/base.html | 3 + teamsnap/forms.py | 13 +- teamsnap/templates/event/view_event.html | 2 +- teamsnap/templates/opponent.html | 9 + teamsnap/templates/opponents.html | 48 ++++ teamsnap/urls.py | 14 +- teamsnap/views.py | 330 +++++++---------------- 7 files changed, 173 insertions(+), 246 deletions(-) create mode 100644 teamsnap/templates/opponent.html create mode 100644 teamsnap/templates/opponents.html diff --git a/benchcoach/templates/base.html b/benchcoach/templates/base.html index 3f2e673..8bbf66d 100644 --- a/benchcoach/templates/base.html +++ b/benchcoach/templates/base.html @@ -68,6 +68,9 @@ + {% endif %}