diff options
author | Milo Casagrande <milo.casagrande@linaro.org> | 2014-04-04 18:09:08 +0200 |
---|---|---|
committer | Milo Casagrande <milo.casagrande@linaro.org> | 2014-04-04 18:09:08 +0200 |
commit | 26e26e50ddd8b64fd3206788ef1defbf337698e5 (patch) | |
tree | 0ac81eab9811101b0b5956a1ccc73817df918057 /app | |
parent | 2d05ce07fe038c669a104d70529d4f57eabb1f09 (diff) |
Add ID support for subscription/ URLs.
Diffstat (limited to 'app')
-rw-r--r-- | app/urls.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/urls.py b/app/urls.py index 997af0a..74f6ca1 100644 --- a/app/urls.py +++ b/app/urls.py @@ -25,5 +25,9 @@ from handlers import ( APP_URLS = [ url(r'/api/defconfig(?P<sl>/)?(?P<id>.*)', DefConfHandler, name='defconf'), url(r'/api/job(?P<sl>/)?(?P<id>.*)', JobHandler, name='job'), - url(r'/api/subscription', SubscriptionHandler, name='subscription') + url( + r'/api/subscription(?P<sl>/)?(?P<id>.*)', + SubscriptionHandler, + name='subscription' + ) ] |