Merge branch 'teamsnap_sync' into dev

This commit is contained in:
2021-12-10 11:21:34 -06:00
34 changed files with 1146 additions and 7 deletions

View File

@@ -36,6 +36,7 @@ INSTALLED_APPS = [
'venues.apps.VenuesConfig',
'players.apps.PlayersConfig',
'lineups.apps.LineupsConfig',
'teamsnap.apps.TeamsnapConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',

View File

@@ -27,5 +27,6 @@ urlpatterns = [
path('teams/', include('teams.urls')),
path('venues/', include('venues.urls')),
path('players/', include('players.urls')),
path('lineups/', include('lineups.urls'))
path('lineups/', include('lineups.urls')),
path('teamsnap/', include('teamsnap.urls'))
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)

View File

@@ -2,5 +2,5 @@ from django.http import HttpResponse
from django.shortcuts import render
def welcome(request):
pages = ['events list', 'teams list', 'venues list', 'players list']
pages = ['events list', 'teams list', 'venues list', 'players list', 'teamsnap list events']
return render(request,'home.html',{'pages':pages})