mirror of
https://github.com/jazzband/django-downloadview.git
synced 2026-03-16 22:40:25 +00:00
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:
parent
7d30adb802
commit
6ad1ae9704
1 changed files with 1 additions and 1 deletions
|
|
@ -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'
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue