Merge branch 'teamsnap_sync' into dev
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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})
|
||||
Reference in New Issue
Block a user