summaryrefslogtreecommitdiffstats
path: root/module/web/ajax/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/ajax/urls.py')
-rw-r--r--module/web/ajax/urls.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/module/web/ajax/urls.py b/module/web/ajax/urls.py
new file mode 100644
index 000000000..a32a00d89
--- /dev/null
+++ b/module/web/ajax/urls.py
@@ -0,0 +1,31 @@
+# -*- coding: utf-8 -*-
+from django.conf.urls.defaults import *
+
+
+urlpatterns = patterns('ajax',
+ # Example:
+ # (r'^pyload/', include('pyload.foo.urls')),
+
+ # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
+ # to INSTALLED_APPS to enable admin documentation:
+ # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
+
+ # Uncomment the next line to enable the admin:
+ (r'^add_package$', 'views.add_package'),
+ (r'^abort_link/(\d+)$', 'views.abort_link'),
+ (r'^status$', 'views.status'),
+ (r'^links$', 'views.links'), #currently active links
+ (r'^queue$', 'views.queue'),
+ (r'^pause$', 'views.pause'),
+ (r'^unpause$', 'views.unpause'),
+ (r'^cancel$', 'views.cancel'),
+ (r'^packages$', 'views.packages'),
+ (r'^package/(\d+)$', 'views.package'),
+ (r'^link/(\d+)$', 'views.link'),
+ (r'^remove_package/(\d+)$', 'views.remove_package'),
+ (r'^restart_package/(\d+)$', 'views.restart_package'),
+ (r'^remove_link/(\d+)$', 'views.remove_link'),
+ (r'^restart_link/(\d+)$', 'views.restart_link'),
+ (r'^push_to_queue/(\d+)$', 'views.push_to_queue'),
+ (r'^set_captcha$', 'views.set_captcha'),
+ ) \ No newline at end of file