Fixed documentation bug showing wrong environment key for the ``matchdict``
produced by the matching route.
Thanks to leopay for the catch.
| | |
| | | Next release |
| | | ============ |
| | | |
| | | - Fixed documentation bug showing wrong environment key for the ``matchdict`` |
| | | produced by the matching route. |
| | | |
| | | - Added a workaround for a bug in Python 2.6, 2.6.1, and 2.6.2 having |
| | | to do with a recursion error in the mimetypes module when trying to |
| | | serve static files from Paste's FileApp: |
| | |
| | | |
| | | class Article(object): |
| | | def __init__(self, environ): |
| | | self.__dict__.update(environ['repoze.bfg.matchdict']) |
| | | self.__dict__.update(environ['bfg.routes.matchdict']) |
| | | |
| | | def is_root(self): |
| | | return self['article'] == 'root' |