[Zope] Python error: object does not support item or slice
	assignment
    Dieter Maurer 
    dieter at handshake.de
       
    Fri Sep 26 14:09:59 EDT 2003
    
    
  
Florian Lindner wrote at 2003-9-26 13:46 +0200:
 > ...
 > Error Type: TypeError
 > Error Value: object does not support item or slice assignment
 > 
 > The Log says that the error is on line 5, marked with <--.
 > ...
 > REQUEST['__ac_name'] = REQUEST['username'] <--
It is write:
   Use "REQUEST.set('__ac_name', REQUEST['username'])"
Dieter
    
    
More information about the Zope
mailing list