def append_plugin_urls():
 global urlpatterns
 for plugin in settings.CABOT_PLUGINS_ENABLED_PARSED:
  try:
   _module = import_module(('%s.urls' % plugin))
  except Exception as e:
   pass
  else:
   urlpatterns += patterns('', url(('^plugins/%s/' % plugin), include(('%s.urls' % plugin))))

def append_plugin_urls ( ) : global urlpatterns for plugin in settings . CABOT_PLUGINS_ENABLED_PARSED : try : _module = import_module ( ( '%s.urls' % plugin ) ) except Exception as e : pass else : urlpatterns += patterns ( '' , url ( ( '^plugins/%s/' % plugin ) , include ( ( '%s.urls' % plugin ) ) ) )
appends plugin specific urls to the urlpatterns variable .