X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/37ef9073a6d8676a5c2cb0f3cf4105c60af77469..b264c171a5885976ef8f077be37e7cc83bf8a0fd:/apps/api/urls.py diff --git a/apps/api/urls.py b/apps/api/urls.py index 773ef8cb..0ae14203 100644 --- a/apps/api/urls.py +++ b/apps/api/urls.py @@ -17,8 +17,13 @@ urlpatterns = patterns('', # url(r'^hello\.(?P.+)$', hello_resource), # Toolbar - url(r'^toolbar/buttons$', toolbar_buttons, {'emitter_format': 'json'}), - url(r'^toolbar/scriptlets$', scriptlets, {'emitter_format': 'json'}), + url(r'^toolbar/buttons$', toolbar_buttons, {'emitter_format': 'json'}, + name="toolbar_buttons" + ), + + url(r'^toolbar/scriptlets$', scriptlets, {'emitter_format': 'json'}, + name="toolbar_scriptlets" + ), # Pull requests url(r"^pull-requests$", pullrequest_collection,