summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrupti Rajesh Kini2017-02-23 10:40:54 +0530
committerGitHub2017-02-23 10:40:54 +0530
commit5f058d18f30330a547788f3a243c89a956c574b6 (patch)
treeb76fffdcb3a86b718ffbf2e18c6b9ed79888afea
parent27ed5a79a38a9da691594359d018a64a72c36da1 (diff)
downloadPython-TBC-Interface-5f058d18f30330a547788f3a243c89a956c574b6.tar.gz
Python-TBC-Interface-5f058d18f30330a547788f3a243c89a956c574b6.tar.bz2
Python-TBC-Interface-5f058d18f30330a547788f3a243c89a956c574b6.zip
Fixed download individual chapter bug
-rw-r--r--tbc/templates/tbc/book-details.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/templates/tbc/book-details.html b/tbc/templates/tbc/book-details.html
index 61b4bcb..c282430 100644
--- a/tbc/templates/tbc/book-details.html
+++ b/tbc/templates/tbc/book-details.html
@@ -57,7 +57,7 @@ function redirectToIpynb(notebook)
<a href="{% url 'tbc:convert_notebook' chapter.notebook %}">{{ chapter.name }}</a>
</td>
<td>
- <a href="{% static 'Python-Textbook-Companions/' %}{{ chapter.notebook }}">Download</a>
+ <a href="{% static 'Python-Textbook-Companions/' %}{{ chapter.notebook }}" download>Download</a>
</td>
</tr>
{% endfor %}