Code

- small performance optimisation for 'get': do common case first
[roundup.git] / doc / customizing.txt
index df04a8bb7b36d421d657221aa09733a4cf809b26..58a8ec342f7376b324258a16f8179177a49e79aa 100644 (file)
@@ -508,7 +508,7 @@ The ``schema.py`` module contains two functions:
   them.
 **init**
   This function is responsible for setting up the initial state of your
-  tracker. It's called exactly once - but the ``roundup-admin initialise``
+  tracker. It's called exactly once - by the ``roundup-admin initialise``
   command.  See the start of the section on `database content`_ for more
   info about how this works.
 
@@ -1623,7 +1623,7 @@ of files in there. The *minimal* template includes:
 **user.register.html**
   a special page just for the user class, that renders the registration
   page
-**style.css.html**
+**style.css**
   a static file that is served up as-is
 
 The *classic* template has a number of additional templates.
@@ -1984,7 +1984,7 @@ Hyperdb class wrapper
 This is implemented by the ``roundup.cgi.templating.HTMLClass``
 class.
 
-This wrapper object provides access to a hyperb class. It is used
+This wrapper object provides access to a hyperdb class. It is used
 primarily in both index view and new item views, but it's also usable
 anywhere else that you wish to access information about a class, or the
 items of a class, when you don't have a specific item of that class in
@@ -2084,7 +2084,7 @@ Hyperdb item wrapper
 This is implemented by the ``roundup.cgi.templating.HTMLItem``
 class.
 
-This wrapper object provides access to a hyperb item.
+This wrapper object provides access to a hyperdb item.
 
 We allow access to properties. There will be no "id" property. The value
 accessed through the property will be the current value of the same name
@@ -4869,10 +4869,10 @@ Setting up a "wizard" (or "druid") for controlled adding of issues
             '''
             category = self.form['category'].value
             if category == '-1':
-                self.error_message.append('You must select a category of report')
+                self.client.error_message.append('You must select a category of report')
                 return
             # everything's ok, move on to the next page
-            self.template = 'add_page2'
+            self.client.template = 'add_page2'
 
     def init(instance):
         instance.registerAction('page1_submit', Page1SubmitAction)