diff --git a/fowl/game/templates/roster.html b/fowl/game/templates/roster.html
new file mode 100644
index 0000000..e0902cb
--- /dev/null
+++ b/fowl/game/templates/roster.html
@@ -0,0 +1,26 @@
+{% extends "base.html" %}
+{% load static %}
+{% block title %} Roster {% endblock %}
+
+{% block content %}
+
+Roster
+ The WWE Roster
+
+
+
+
+
+ Stars |
+
+
+
+ {% for star in stars %}
+
+ {{star}}{{star.division}} |
+
+ {% endfor %}
+
+
+
+{% endblock %}
diff --git a/fowl/game/urls.py b/fowl/game/urls.py
index c87abfd..68d235f 100644
--- a/fowl/game/urls.py
+++ b/fowl/game/urls.py
@@ -6,4 +6,5 @@ urlpatterns = patterns('',
url(r'league/(?P\d+)/$', 'fowl.game.views.league',
name='league'),
url(r'^edit_event/$', 'fowl.game.views.edit_event', name='edit_event'),
+ url(r'^roster/$', 'fowl.game.views.roster', name='roster'),
)
diff --git a/fowl/game/views.py b/fowl/game/views.py
index d2712d7..4bf731e 100644
--- a/fowl/game/views.py
+++ b/fowl/game/views.py
@@ -1,7 +1,7 @@
from collections import defaultdict
from itertools import izip_longest
from django.shortcuts import render, get_object_or_404
-from fowl.game.models import Team, TeamPoints
+from fowl.game.models import Team, TeamPoints, Star
def events(request, league_id):
@@ -29,7 +29,6 @@ def edit_event(request, event_id=None):
if request.method == 'GET':
return render(request, "edit_event.html", {"event": event})
-
def league(request, league_id):
context = {
'view': 'league',
@@ -41,3 +40,9 @@ def league(request, league_id):
context['star_sets'] = izip_longest(*(team.stars.all().order_by("division")
for team in teams))
return render(request, "stables.html", context)
+
+def roster(request):
+ context = {
+ 'stars': Star.objects.all()
+ }
+ return render(request, "roster.html", context)
\ No newline at end of file