work.authors() returns list of all authors

pull/1/head
Raymond Yee 2016-09-23 10:16:26 -07:00
parent eebd00ccd9
commit 81524ac5f0
1 changed files with 1 additions and 1 deletions

View File

@ -2826,7 +2826,7 @@ def lockss(request, work_id):
ebooks = work.ebooks().filter(edition__unglued=True)
except:
ebooks = None
authors = work.authors.all()
authors = work.authors()
return render(request, "lockss.html", {'work':work, 'ebooks':ebooks, 'authors':authors})