4 Feb
2003
4 Feb
'03
6:30 p.m.
cmulcahy@avenirsolutions.com wrote at 2003-2-3 15:16 -0500:
I love your QuotaFolder product and I would like to user it in a python script. ( Please forgive me, I am new to zope )
I installed QuotaFolder and I can create new QuotaFolder objects from the ZMI, but I would like to use it in a script like:
try: context.manage_addQuotaFolder(username,"Portfolio of %s" % username,quota_bytes=10485760,quota_objects=1000,quota_maxsize=0,REQUEST=Non The modern way is
context.manage_addProduct[<ProductName>].<constructor>(...) in your case, probably: context.manage_addProduct['QuotaFolder'].manage_addQuotaFolder(...) Dieter