diff --git a/.idea/benchcoach.iml b/.idea/benchcoach.iml
index 912b516..0085b3f 100644
--- a/.idea/benchcoach.iml
+++ b/.idea/benchcoach.iml
@@ -19,10 +19,12 @@
-
+
+
+
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
index cc5462d..c57e002 100644
--- a/.idea/inspectionProfiles/profiles_settings.xml
+++ b/.idea/inspectionProfiles/profiles_settings.xml
@@ -1,5 +1,6 @@
+
diff --git a/.idea/misc.xml b/.idea/misc.xml
index 7e0e000..6bccda1 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -3,5 +3,5 @@
-
+
diff --git a/.idea/runConfigurations/migrate.xml b/.idea/runConfigurations/migrate.xml
index 448a6eb..e3bbf11 100644
--- a/.idea/runConfigurations/migrate.xml
+++ b/.idea/runConfigurations/migrate.xml
@@ -12,13 +12,16 @@
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -27,6 +30,6 @@
-
+
diff --git a/.idea/runConfigurations/runserver.xml b/.idea/runConfigurations/runserver.xml
index c942c94..4ecec8f 100644
--- a/.idea/runConfigurations/runserver.xml
+++ b/.idea/runConfigurations/runserver.xml
@@ -14,6 +14,16 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/.idea/runConfigurations/runserver_plus.xml b/.idea/runConfigurations/runserver_plus.xml
index 47811a3..ce5e37f 100644
--- a/.idea/runConfigurations/runserver_plus.xml
+++ b/.idea/runConfigurations/runserver_plus.xml
@@ -5,8 +5,9 @@
-
+
+
@@ -14,6 +15,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -25,4 +37,4 @@
-
\ No newline at end of file
+
diff --git a/gamecard/views.py b/gamecard/views.py
index 14da795..9bfa853 100644
--- a/gamecard/views.py
+++ b/gamecard/views.py
@@ -64,8 +64,8 @@ def gamecard(request, team_id, event_id):
gc_client = get_gamechanger_client(request)
stats = gc_client.get_stats()
stats_lookup = {
- GcModels.Player.objects.filter(id=k).first().teamsnap_member_id: stat_row
- for k, stat_row in stats.items()
+ # GcModels.Player.objects.filter(id=k).first().teamsnap_member_id: stat_row
+ # for k, stat_row in stats.items()
}
members = []
diff --git a/gamechanger/views.py b/gamechanger/views.py
index 9482714..1dad7c2 100644
--- a/gamechanger/views.py
+++ b/gamechanger/views.py
@@ -134,7 +134,7 @@ def roster(request):
def roster_import(request):
if request.method == "GET":
- from pyteamsnap.objects import Member
+ from pyteamsnap.models import Member
gc_client = get_gamechanger_client(request)
season_slug = request.user.gamechanger_preferences.managed_team.season_slug
diff --git a/instagen/views.py b/instagen/views.py
index ac2cdf1..26a74ec 100644
--- a/instagen/views.py
+++ b/instagen/views.py
@@ -14,7 +14,7 @@ def image_generator(request, team_id, event_id):
TOKEN = current_teamsnap_user.socialtoken_set.order_by("-expires_at").first().token
from pyteamsnap.client import TeamSnap
- from pyteamsnap.objects import Event
+ from pyteamsnap.models import Event
client = TeamSnap(token=TOKEN)
@@ -25,7 +25,7 @@ def image_generator(request, team_id, event_id):
def get_matchup_image(request, team_id, event_id, dimensions=None, background=None):
import io
- from pyteamsnap.objects import Location, Opponent, Team
+ from pyteamsnap.models import Location, Opponent, Team
from .utils.gen_image import Location as ImagegenLocation
from .utils.gen_image import Team as ImagegenTeam
@@ -45,7 +45,7 @@ def get_matchup_image(request, team_id, event_id, dimensions=None, background=No
)
from pyteamsnap.client import TeamSnap
- from pyteamsnap.objects import Event
+ from pyteamsnap.models import Event
teamsnap = TeamSnap(token=ts_token)
diff --git a/requirements/base.txt b/requirements/base.txt
index 10df357..bc5c468 100644
--- a/requirements/base.txt
+++ b/requirements/base.txt
@@ -18,7 +18,8 @@ django-redis==5.2.0 # https://github.com/jazzband/django-redis
api-client
--e git+ssh://gituser@home.ascorrea.com/~/pyteamsnap.git#egg=pyteamsnap
--e git+ssh://gituser@home.ascorrea.com/~/gamescrapyr.git#egg=gamescrapyr
+-e git+https://git@gitea.ascorrea.com/asc/pyteamsnap.git#egg=pyteamsnap
+-e git+https://git@gitea.ascorrea.com/asc/gamescrapyr.git#egg=gamescrapyr
beautifulsoup4==4.11.1
+pyOpenSSL
diff --git a/teamsnap/dashboard/views.py b/teamsnap/dashboard/views.py
index bcb9d55..21b76a8 100644
--- a/teamsnap/dashboard/views.py
+++ b/teamsnap/dashboard/views.py
@@ -25,7 +25,7 @@ def dashboard(request, team_id=None):
team_id=request.user.teamsnap_preferences.managed_team_id,
)
- from pyteamsnap.objects import AvailabilitySummary, Event
+ from pyteamsnap.models import AvailabilitySummary, Event
client = get_teamsnap_client(request)
ts_events = Event.search(client, team_id=team_id)
diff --git a/teamsnap/lineup/templates/lineup/edit.html b/teamsnap/lineup/templates/lineup/edit.html
index cbeba1d..dd94478 100644
--- a/teamsnap/lineup/templates/lineup/edit.html
+++ b/teamsnap/lineup/templates/lineup/edit.html
@@ -25,7 +25,7 @@
{% block inline_javascript %}
{{ block.super }}
-
+