Andreas Stuhlmüller wrote: > Robert Wittams wrote: > >>I can't really work this out without more information. Could you file a >>ticket with a minimal example. ( or at least include a backtrace. ) > > > I didn't expect you to solve the problem. I just wanted to make sure > that template_decorators.py doesn't depend on other new-admin > functionality. > > It turned out that the traceback was caused by the simple_tag-decorated > function I wrote: It returned an integer whereas, as you pointed out, > only strings are possible at the moment. > > Andreas > > Ok. I don't think there is any dependency in template_decorators.py on anything else.
Strings are only possible here for a different reason, however : ''.join(bits) at the end of NodeList.render All render functions are only supposed to return strings and there is no coercion done at the moment. Not sure if this should be changed or just better documented.