0001-misc-rename-csv-template-file-as-.txt-so-it-gets-con.patch
MANIFEST.in | ||
---|---|---|
6 | 6 | |
7 | 7 |
# templates |
8 | 8 |
recursive-include chrono/api/templates *.html |
9 |
recursive-include chrono/manager/templates *.html *.csv
|
|
9 |
recursive-include chrono/manager/templates *.html *.txt
|
|
10 | 10 | |
11 | 11 |
include COPYING README |
12 | 12 |
include MANIFEST.in |
chrono/manager/views.py | ||
---|---|---|
570 | 570 | |
571 | 571 | |
572 | 572 |
class AgendaImportEventsSampleView(TemplateView): |
573 |
template_name = 'chrono/manager_sample_events.csv'
|
|
573 |
template_name = 'chrono/manager_sample_events.txt'
|
|
574 | 574 |
content_type = 'text/csv' |
575 | 575 | |
576 | 576 |
def get_context_data(self, **kwargs): |
577 |
- |