misc: rename csv template file as .txt so it gets considered for i18n (#30452)
This commit is contained in:
parent
1f02150240
commit
04d5324dc2
|
@ -6,7 +6,7 @@ recursive-include chrono/manager/static *.css *.scss *.js
|
||||||
|
|
||||||
# templates
|
# templates
|
||||||
recursive-include chrono/api/templates *.html
|
recursive-include chrono/api/templates *.html
|
||||||
recursive-include chrono/manager/templates *.html *.csv
|
recursive-include chrono/manager/templates *.html *.txt
|
||||||
|
|
||||||
include COPYING README
|
include COPYING README
|
||||||
include MANIFEST.in
|
include MANIFEST.in
|
||||||
|
|
|
@ -570,7 +570,7 @@ agenda_add_event = AgendaAddEventView.as_view()
|
||||||
|
|
||||||
|
|
||||||
class AgendaImportEventsSampleView(TemplateView):
|
class AgendaImportEventsSampleView(TemplateView):
|
||||||
template_name = 'chrono/manager_sample_events.csv'
|
template_name = 'chrono/manager_sample_events.txt'
|
||||||
content_type = 'text/csv'
|
content_type = 'text/csv'
|
||||||
|
|
||||||
def get_context_data(self, **kwargs):
|
def get_context_data(self, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue