fnp
/
copyspeak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pipeline update.
[copyspeak.git]
/
src
/
words
/
views.py
diff --git
a/src/words/views.py
b/src/words/views.py
index
15b4c21
..
43bf9d5
100644
(file)
--- a/
src/words/views.py
+++ b/
src/words/views.py
@@
-22,4
+22,6
@@
class WordView(DetailView):
return {
'object': object,
'words': Word.objects.all(),
return {
'object': object,
'words': Word.objects.all(),
+ 'previous': object.get_previous(),
+ 'next': object.get_next(),
}
}