aboutsummaryrefslogtreecommitdiff
path: root/urls.py
diff options
context:
space:
mode:
authorStevan Radakovic <stevan.radakovic@linaro.org>2012-10-22 14:48:48 +0200
committerStevan Radakovic <stevan.radakovic@linaro.org>2012-10-22 14:48:48 +0200
commit11b41826ca181c6526f11e64edd016b86472bd7c (patch)
tree4e4286a1ecdfa30cfbaa68b7041d68a8f75b0e3d /urls.py
parentea2335013dd9df0ca625d23bc5bb0355868e4cb6 (diff)
Add async call for fethcing textile files rendered.
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/urls.py b/urls.py
index 1d92c39..9622fdd 100644
--- a/urls.py
+++ b/urls.py
@@ -37,6 +37,11 @@ urlpatterns = patterns('',
'license_protected_downloads.views.accept_license',
name='accept_license'),
+ # Recursively get files for rendering (async calls accepted only).
+ url(r'^get-textile-files',
+ 'license_protected_downloads.views.get_textile_files',
+ name='get_textile_files'),
+
# Catch-all. We always return a file (or try to) if it exists.
# This handler does that.
url(r'(?P<path>.*)', 'license_protected_downloads.views.file_server'),