Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

removed match players entirely to fix admin page

  • Loading branch information...
commit 62dbfa518867088d3b5fa5bc0f632466e2a99022 1 parent cc93a14
@bzhang63 bzhang63 authored
Showing with 1 addition and 2 deletions.
  1. +1 −1  players/views.py
  2. +0 −1  urls.py
View
2  players/views.py
@@ -60,7 +60,7 @@ def get_all_players(request):
if user is None:
return auth_required_response()
response = {}
- all_players = serializers.serialize("json",Player.objects.all())
+ all_players = serializers.serialize("json", Player.objects.all())
response['response'] = all_players
response['status_code'] = 200
return HttpResponse(simplejson.dumps(response), mimetype='application/json')
View
1  urls.py
@@ -22,5 +22,4 @@
url(r'^players/getall/', 'players.views.get_all_players'),
url(r'^players/withid/', 'players.views.player_with_id'),
url(r'^events/getmatches/', 'events.views.get_matches_from_round'),
- url(r'^players/playerquery/', 'players.views.get_matching_players'),
)
Please sign in to comment.
Something went wrong with that request. Please try again.