summaryrefslogtreecommitdiffstats
path: root/Demo/cgi
Commit message (Collapse)AuthorAgeFilesLines
* remove most uses of list(somedict.keys()) in Demo scriptsSkip Montanaro2007-08-061-1/+1
|
* Run 2to3 over the Demo/ directory to shut up parse errors from 2to3 about ↵Collin Winter2007-07-173-37/+37
| | | | lingering print statements.
* SF patch 1631942 by Collin Winter:Guido van Rossum2007-01-101-1/+1
| | | | | | (a) "except E, V" -> "except E as V" (b) V is now limited to a simple name (local variable) (c) V is now deleted at the end of the except block
* Add description of what's here.Guido van Rossum2002-10-181-0/+11
|
* Refactor cmd_view(): move line formatting to a helper method.Guido van Rossum2002-10-171-13/+15
|
* In cmd_create(), use a redirect directive instead of viewing the page;Guido van Rossum2002-10-171-2/+9
| | | | | | this avoids resubmitting POST data. Remove redundant 'Page' from label passed from cmd_new().
* Remove redundant load() call.Guido van Rossum2002-10-171-1/+0
|
* Grammar repair in comment.Guido van Rossum2002-10-171-1/+1
|
* Use tempfile.gettempdir() to get the temp directory rather thanGuido van Rossum2002-10-171-2/+2
| | | | hardcoding "/tmp".
* Restructure: move all wiki code into a separate module.Guido van Rossum2002-10-172-113/+116
|
* Add trailing newline when saving.Guido van Rossum2002-10-171-0/+2
|
* Security fixes: reject non-wiki-word page names; set homedir to /tmp.Guido van Rossum2002-10-171-6/+13
| | | | | | Show errors returned by store(). A few nits.
* Some really simple cgi examples. cgi3 is a MiniWiki.Guido van Rossum2002-10-164-0/+157