diff options
| -rw-r--r-- | CHANGES.txt | 3 | ||||
| -rw-r--r-- | docs/narr/urldispatch.rst | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index e08239190..6b6ce3de4 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,6 +1,9 @@ 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: diff --git a/docs/narr/urldispatch.rst b/docs/narr/urldispatch.rst index 7e3454a2a..0a6109ff9 100644 --- a/docs/narr/urldispatch.rst +++ b/docs/narr/urldispatch.rst @@ -351,7 +351,7 @@ The ``.models`` module referred to above might look like so: 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' |
