__date__ ="$2009-09-17 16:16:54$"
from django.conf.urls.defaults import *
-
from api.resources import *
FORMAT = r"\.(?P<emitter_format>xml|json|yaml)"
# url(r'^hello\.(?P<emitter_format>.+)$', 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,