Fixed documentation bug showing invalid test for values from the ``matchdict``.
o They are stored as attributes of the ``Article``, rather than subitems.
| | |
| | | Next release |
| | | ============ |
| | | |
| | | - Fixed documentation bug showing invalid test for values from the |
| | | ``matchdict``: they are stored as attributes of the ``Article``, rather |
| | | than subitems. |
| | | |
| | | - Fixed documentation bug showing wrong environment key for the ``matchdict`` |
| | | produced by the matching route. |
| | | |
| | |
| | | self.__dict__.update(environ['bfg.routes.matchdict']) |
| | | |
| | | def is_root(self): |
| | | return self['article'] == 'root' |
| | | return self.article == 'root' |
| | | |
| | | The ``.views`` module referred to above might look like so: |
| | | |