Fixed demo's 'http_download_hello_world' view: using 'basename' and not 'name'.

This commit is contained in:
Benoît Bryon 2013-04-11 11:39:08 +02:00
parent c7033295fc
commit c2c152ec49

View file

@ -76,4 +76,4 @@ download_generated_hello_world = StringIODownloadView.as_view()
download_http_hello_world = views.HTTPDownloadView.as_view(
url=u'https://raw.github.com/benoitbryon/django-downloadview/master/demo/demoproject/download/fixtures/hello-world.txt',
name=u'hello-world.txt')
basename=u'hello-world.txt')