fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix in librarian
[wolnelektury.git]
/
apps
/
reporting
/
views.py
diff --git
a/apps/reporting/views.py
b/apps/reporting/views.py
index
a23252e
..
8cb2715
100644
(file)
--- a/
apps/reporting/views.py
+++ b/
apps/reporting/views.py
@@
-37,7
+37,7
@@
def stats_page(request):
locals(), context_instance=RequestContext(request))
locals(), context_instance=RequestContext(request))
-@generated_file_view('reports/katalog.pdf', 'application/pdf',
+@generated_file_view('reports/katalog.pdf', 'application/pdf',
send_name=lambda: 'wolnelektury_%s.pdf' % date.today(),
signals=[Book.published])
def catalogue_pdf(path):
send_name=lambda: 'wolnelektury_%s.pdf' % date.today(),
signals=[Book.published])
def catalogue_pdf(path):
@@
-47,7
+47,7
@@
def catalogue_pdf(path):
})
})
-@generated_file_view('reports/katalog.csv', 'application/csv',
+@generated_file_view('reports/katalog.csv', 'application/csv',
send_name=lambda: 'wolnelektury_%s.csv' % date.today(),
signals=[Book.published])
def catalogue_csv(path):
send_name=lambda: 'wolnelektury_%s.csv' % date.today(),
signals=[Book.published])
def catalogue_csv(path):