mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
commit
5c415394d9
1 changed files with 2 additions and 2 deletions
|
@ -78,8 +78,8 @@ def opml_export(request):
|
||||||
exporter = OPMLExporter(user)
|
exporter = OPMLExporter(user)
|
||||||
opml = exporter.process()
|
opml = exporter.process()
|
||||||
|
|
||||||
response = HttpResponse(opml, content_type='text/xml')
|
response = HttpResponse(opml, content_type='text/xml; charset=utf-8')
|
||||||
response['Content-Disposition'] = 'attachment; filename=NewsBlur-%s-%s' % (
|
response['Content-Disposition'] = 'attachment; filename=NewsBlur-%s-%s.opml' % (
|
||||||
user.username,
|
user.username,
|
||||||
now.strftime('%Y-%m-%d')
|
now.strftime('%Y-%m-%d')
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue