These changes made the errors go away:
- @require(is_client or is_manager)
+ @require(Any(is_client, is_manager))
- JSLink(link=url('/javascript/jquery.jqGrid-%s/js/i18n/grid.locale-en.js'
% version)),
+ JSLink(link='/javascript/jquery.jqGrid-%s/js/i18n/grid.locale-en.js'
% version),
I'm unsure whether I should use url() in widget definitions. I get the
above error when I use url() and import the widget when the app loads
(outside a controller method, before a request hits the app), so I've
removed url() from my widget code. But is url() needed in the widget code?
Tim
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/turbogears/-/GnP44JMukNcJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en.