- 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"
+ ),