diff roundup/instance.py @ 5000:082ee3ded101 routing

Improve docs for registerHandler
author anatoly techtonik <techtonik@gmail.com>
date Fri, 11 Sep 2015 08:16:38 +0300
parents 7920d700e580
children 01d14361cae7
line wrap: on
line diff
--- a/roundup/instance.py	Thu Sep 10 12:33:12 2015 +0300
+++ b/roundup/instance.py	Fri Sep 11 08:16:38 2015 +0300
@@ -235,9 +235,10 @@
             self.cgi_actions[name] = action
 
     def registerHandler(self, urlpath, function):
-        """Add handler for urlpath. `urlpath` is a simple rule for
-        roundup.web.router that is matched before Roundup makes DB
-        lookups for classes that are available to render.
+        """Add handler for urlpath. `urlpath` is a rule for
+        matching urls in Django-like format and is processed
+        by roundup.web.router before Roundup tries to match
+        urls against class names in DB.
 
         New in version 1.6.x"""
         self.web_handlers[urlpath] = function

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