Skip to content

Commit

Permalink
Merge pull request evgenity#1 from srsatt/tag_filter
Browse files Browse the repository at this point in the history
deleting /team/2 page
  • Loading branch information
srsatt committed Nov 10, 2016
2 parents eb92501 + e73e3b8 commit 36da9da
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion heisen/team/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
app_name = 'team'
urlpatterns = [
url(r'^$', views.TeamView, name='index'),
url(r'^2$', views.TeamView2, name='index2'),
url(r'^filter$', views.Filter, name='filter'),
]
6 changes: 0 additions & 6 deletions heisen/team/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ def get_queryset(self):
return Person.objects.all().order_by('-avatar','-progress__rating')

def TeamView(request):
template_name = 'team/index.html'
#context_object_name = 'team_list'
team_list=list(Person.objects.all().order_by('-avatar','-progress__rating'))
return render(request,template_name,context={'team_list':team_list} )

def TeamView2(request):
template_name = 'team/index2.html'
return render(request,template_name)

Expand Down

0 comments on commit 36da9da

Please sign in to comment.