from catalogue import models
from catalogue import forms
-from catalogue.utils import (split_tags, AttachmentHttpResponse,
+from catalogue.utils import (split_tags,
async_build_pdf, MultiQuerySet)
from pdcounter import models as pdcounter_models
from pdcounter import views as pdcounter_views
url = WaitedFile.order(pdf_file,
lambda p: async_build_pdf.delay(book.id, cust, p),
- "%s: %s" % (book.pretty_title(), ", ".join(cust))
+ book.pretty_title()
)
return redirect(url)
else:
form_class = forms.CustomPDFForm
title = ugettext_lazy('Download custom PDF')
submit = ugettext_lazy('Download')
+ honeypot = True
def __call__(self, request):
from copy import copy