X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c5d631fe1a261b311725696eae54a55c68d674a8..755cace721087441becc6e1f22a3e1eed5bbec32:/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,