]> git.parisson.com Git - telemeta.git/commitdiff
remove revisions from home context
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sat, 7 May 2016 19:35:56 +0000 (21:35 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Sat, 7 May 2016 19:35:56 +0000 (21:35 +0200)
telemeta/views/home.py

index b4665f1f2df06d8e6eafa54e822e54445237f619..dcc4fd1f3db6c066b2f46e5afe555a10f4f4650d 100644 (file)
@@ -55,10 +55,10 @@ class HomeView(object):
             sound_pub_item = sound_items[indexes[0]]
             sound_pub_items = [sound_items[indexes[i]] for i in range(1, N)]
 
-        revisions = get_revisions(25)
         context = RequestContext(request, {
-                    'page_content': pages.get_page_content(request, 'home', ignore_slash_issue=True),
-                    'revisions': revisions,  'sound_pub_items': sound_pub_items,
+                    'page_content': pages.get_page_content(request,
+                    'home', ignore_slash_issue=True),
+                    'sound_pub_items': sound_pub_items,
                     'sound_pub_item': sound_pub_item })
         return HttpResponse(template.render(context))