summaryrefslogtreecommitdiff
path: root/docs/tutorials
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2009-10-21 21:48:19 +0000
committerChris McDonough <chrism@agendaless.com>2009-10-21 21:48:19 +0000
commitb2f9291bfb55f9305f59b8ba0e3fe04ff6f31cc6 (patch)
tree5afe13809e933cc16ea5e2cca7908a0b6c0caab2 /docs/tutorials
parentb06b260b83bfc2f40105c6e730f5e7e8eccd61d9 (diff)
downloadpyramid-b2f9291bfb55f9305f59b8ba0e3fe04ff6f31cc6.tar.gz
pyramid-b2f9291bfb55f9305f59b8ba0e3fe04ff6f31cc6.tar.bz2
pyramid-b2f9291bfb55f9305f59b8ba0e3fe04ff6f31cc6.zip
- Change how ``bfg_view`` decorator works when used as a class method
decorator. In 1.1a7, it actually tried to grope every class in scanned package at startup time looking for methods, which led to some strange symptoms (e.g. ``AttributeError: object has no attribute __provides__``). Now, instead of groping methods at startup time, we just cause the ``bfg_view`` decorator itself to populate its class' __dict__ when its used inside a class as a method decorator. This is essentially a reversion back to 1.1a6 "grokking" behavior plus some special magic for using the ``bfg_view`` decorator as method decorator inside the ``bfg_view`` class itself.
Diffstat (limited to 'docs/tutorials')
0 files changed, 0 insertions, 0 deletions