from django.views.generic import ListView, DetailView, CreateView, UpdateView
from django.shortcuts import *
from django.core.urlresolvers import reverse
from sports_tracking.models import Sport
from sports_tracking.models import Fraternity
def home(request):
    fraternities_list = Fraternity.objects.all()
    return render(request,"sports_tracking/home.html",{"fraternities_list": fraternities_list})

def flag_football(request):
    return render(request,"sports_tracking/flag_football.html")

def volleyball(request):
    return render(request,"sports_tracking/volleyball.html")

def basketball(request):
    return render(request,"sports_tracking/basketball.html")

def soccer(request):
    return render(request,"sports_tracking/soccer.html")

def softball(request):
    return render(request,"sports_tracking/softball.html")

def hockey(request):
    return render(request,"sports_tracking/hockey.html")
