initial commit

This commit is contained in:
2021-11-20 18:53:21 -06:00
parent 5e7b35926d
commit 9445940df2
15 changed files with 338 additions and 1 deletions

15
teamsnap/views.py Normal file
View File

@@ -0,0 +1,15 @@
from django.shortcuts import render
# from .teamsnap.api import TeamSnap, Team, Event, Availability
from .models import User, Member, Team, Event, Location
from django.views.generic.list import ListView
class EventsListView(ListView):
model = Event
class TeamListView(ListView):
model = Team
class LocationListView(ListView):
model = Location