Mercurial > p > roundup > code
comparison roundup/web/router.py @ 5002:ce06c665932a routing
Update router docstring to reference usage example
| author | anatoly techtonik <techtonik@gmail.com> |
|---|---|
| date | Fri, 11 Sep 2015 11:08:34 +0300 |
| parents | e9077def7678 |
| children |
comparison
equal
deleted
inserted
replaced
| 5001:01d14361cae7 | 5002:ce06c665932a |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # This Router component was written by techtonik@gmail.com and it's been | 2 # The Router component is placed into public domain by |
| 3 # placed in the Public Domain. Copy and modify to your heart's content. | 3 # anatoly techtonik <techtonik@gmail.com> |
| 4 | 4 |
| 5 """ | 5 """ |
| 6 The purpose of router is to make Roundup URL scheme configurable | 6 Router allows extensions to add handlers for their own URLs to |
| 7 and allow extensions add their own handlers and URLs to tracker. | 7 tracker. To test how it works, copy |
| 8 plugins/extensions/custompage.py module to your tracker. | |
| 8 """ | 9 """ |
| 9 | 10 |
| 10 DEBUG = False | 11 DEBUG = False |
| 11 | 12 |
| 12 | 13 |
