From 6ad1ae9704f18ebb397d5e824df9b02757e6eda7 Mon Sep 17 00:00:00 2001 From: CJ Date: Fri, 6 Jun 2014 13:37:11 -0400 Subject: [PATCH] refs #87 github url changed to githubsecurecontent Hoping this fixes the error in 'simple_url' serves 'hello-world.txt' from Github --- demo/demoproject/http/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/demoproject/http/views.py b/demo/demoproject/http/views.py index f35b705..c8e1057 100644 --- a/demo/demoproject/http/views.py +++ b/demo/demoproject/http/views.py @@ -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'