Mercurial > p > roundup > code
comparison roundup/templates/classic/__init__.py @ 1055:cf72eae57a2c
Fixed instance installation
... moved the htmlbase module into templates and call it
<template>_htmlbase.py ... no more try/except in instance __init__!
Added :required to form handling.
Handle multiple values for single form items with decent error report.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Thu, 05 Sep 2002 23:39:14 +0000 |
| parents | 18134bffab37 |
| children | 04a6b3bfbf23 |
comparison
equal
deleted
inserted
replaced
| 1054:3d8ea16347aa | 1055:cf72eae57a2c |
|---|---|
| 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" | 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" |
| 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, | 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, |
| 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. |
| 17 # | 17 # |
| 18 # $Id: __init__.py,v 1.5 2001-08-07 00:24:43 richard Exp $ | 18 # $Id: __init__.py,v 1.6 2002-09-05 23:39:14 richard Exp $ |
| 19 | 19 |
| 20 import sys | 20 import sys |
| 21 from instance_config import * | 21 from instance_config import * |
| 22 try: | 22 from dbinit import * |
| 23 from dbinit import * | |
| 24 except: | |
| 25 pass # in install dir (probably :) | |
| 26 from interfaces import * | 23 from interfaces import * |
| 27 | 24 |
| 28 # | 25 # |
| 29 # $Log: not supported by cvs2svn $ | 26 # $Log: not supported by cvs2svn $ |
| 27 # Revision 1.5 2001/08/07 00:24:43 richard | |
| 28 # stupid typo | |
| 29 # | |
| 30 # Revision 1.4 2001/08/07 00:15:51 richard | 30 # Revision 1.4 2001/08/07 00:15:51 richard |
| 31 # Added the copyright/license notice to (nearly) all files at request of | 31 # Added the copyright/license notice to (nearly) all files at request of |
| 32 # Bizar Software. | 32 # Bizar Software. |
| 33 # | 33 # |
| 34 # Revision 1.3 2001/07/29 07:01:39 richard | 34 # Revision 1.3 2001/07/29 07:01:39 richard |
