refs #87 github url changed to githubsecurecontent

Hoping this fixes the error in 'simple_url' serves 'hello-world.txt' from Github
This commit is contained in:
CJ 2014-06-06 13:37:11 -04:00
parent 7d30adb802
commit 6ad1ae9704

View file

@ -4,7 +4,7 @@ from django_downloadview import HTTPDownloadView
class SimpleURLDownloadView(HTTPDownloadView):
def get_url(self):
"""Return URL of hello-world.txt file on GitHub."""
return 'https://raw.github.com/benoitbryon/django-downloadview' \
return 'https://raw.githubusercontent.com/benoitbryon/django-downloadview' \
'/b7f660c5e3f37d918b106b02c5af7a887acc0111' \
'/demo/demoproject/download/fixtures/hello-world.txt'