Add left-right arrows
[copyspeak.git] / src / words / views.py
index 15b4c21..43bf9d5 100644 (file)
@@ -22,4 +22,6 @@ class WordView(DetailView):
         return {
             'object': object,
             'words': Word.objects.all(),
+            'previous': object.get_previous(),
+            'next': object.get_next(),
         }