incorporate new pyteamsnap, incorporate loading from sessions before creating new client.
This commit is contained in:
@@ -25,7 +25,7 @@ def dashboard(request, team_id=None):
|
||||
team_id=request.user.teamsnap_preferences.managed_team_id,
|
||||
)
|
||||
|
||||
from pyteamsnap.api import AvailabilitySummary, Event
|
||||
from pyteamsnap.objects import AvailabilitySummary, Event
|
||||
|
||||
client = get_teamsnap_client(request)
|
||||
ts_events = Event.search(client, team_id=team_id)
|
||||
|
||||
Reference in New Issue
Block a user