File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1- # $Id: client.py,v 1.85 2003-02-14 00:31:46 richard Exp $
1+ # $Id: client.py,v 1.86 2003-02-16 22:57:09 richard Exp $
22
33__doc__ = """
44WWW request handler (also used in the stand-alone server).
@@ -1142,6 +1142,13 @@ def parsePropsFromForm(self, num_re=re.compile('^\d+$')):
11421142 If a String property's form value is a file upload, then we
11431143 try to set additional properties "filename" and "type" (if
11441144 they are valid for the class).
1145+
1146+ Two special form values are supported for backwards
1147+ compatibility:
1148+ :note - create a message (with content, author and date), link
1149+ to the context item
1150+ :file - create a file, attach to the current item and any
1151+ message created by :note
11451152 '''
11461153 # some very useful variables
11471154 db = self .db
You can’t perform that action at this time.
0 commit comments