[Zope] Using the set object within page templates
Andreas Jung
lists at andreas-jung.com
Mon Sep 26 14:41:18 EDT 2005
Python sets are not available from with ZPT since ZPT and PythonScripts
run within a sandbox. Write an external method or move your code to
trusted code (Zope product).
-aj
--On 26. September 2005 13:38:55 -0500 Floyd May <Fmay at okcareertech.org>
wrote:
> How can I use a set object within a page template?
>
> When I attempt to create a set (e.g. tal:define="myset
> python:set(some_list)"), zope complains that the name 'set' is not
> defined.
>
> Thanks!
>
> fm
> _______________________________________________
> Zope maillist - Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050926/2e39b2f7/attachment.bin
More information about the Zope
mailing list