fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for unclickable cites in admin.
[wolnelektury.git]
/
apps
/
catalogue
/
forms.py
diff --git
a/apps/catalogue/forms.py
b/apps/catalogue/forms.py
index
480eddf
..
d52310b
100644
(file)
--- a/
apps/catalogue/forms.py
+++ b/
apps/catalogue/forms.py
@@
-100,8
+100,8
@@
class CustomPDFForm(forms.Form):
# Don't build with default options, just redirect to the standard file.
return {"redirect": self.book.pdf_file.url}
url = WaitedFile.order(self.cleaned_data['path'],
# Don't build with default options, just redirect to the standard file.
return {"redirect": self.book.pdf_file.url}
url = WaitedFile.order(self.cleaned_data['path'],
- lambda p: build_custom_pdf.delay(self.book.id,
- self.cleaned_data['cust'], p),
+ lambda p
, waiter_id
: build_custom_pdf.delay(self.book.id,
+ self.cleaned_data['cust'], p
, waiter_id
),
self.book.pretty_title()
)
#return redirect(url)
self.book.pretty_title()
)
#return redirect(url)