comparison roundup/cgi/client.py @ 1435:a866491d04a7

forgot :note/:file docstring
author Richard Jones <richard@users.sourceforge.net>
date Sun, 16 Feb 2003 22:57:09 +0000
parents c70068162e64
children 2f6647cf5345
comparison
equal deleted inserted replaced
1434:b953750bdc04 1435:a866491d04a7
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 $
2 2
3 __doc__ = """ 3 __doc__ = """
4 WWW request handler (also used in the stand-alone server). 4 WWW request handler (also used in the stand-alone server).
5 """ 5 """
6 6
1140 created. 1140 created.
1141 1141
1142 If a String property's form value is a file upload, then we 1142 If a String property's form value is a file upload, then we
1143 try to set additional properties "filename" and "type" (if 1143 try to set additional properties "filename" and "type" (if
1144 they are valid for the class). 1144 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
1145 ''' 1152 '''
1146 # some very useful variables 1153 # some very useful variables
1147 db = self.db 1154 db = self.db
1148 form = self.form 1155 form = self.form
1149 1156

Roundup Issue Tracker: http://roundup-tracker.org/