diff options
| author | Juan Catalano | 2014-04-15 14:33:38 +0000 | 
|---|---|---|
| committer | Juan Catalano | 2014-04-15 11:34:20 -0400 | 
| commit | 15b1304e74c67d78f400cf63e9ffe06d3f4318dd (patch) | |
| tree | e4b35af392b8b9e3d5dcb87b4dfa8e1a00eca684 /tests/context_processors.py | |
| parent | da95140ec391cd162dedb587bdff5d6e596c1015 (diff) | |
| download | django-debug-toolbar-15b1304e74c67d78f400cf63e9ffe06d3f4318dd.tar.bz2 | |
Added unit test for broken context processors due to use of `render`
This adds the regression test for the case when a custom context processor
breaks cause of the use of `render` in the redirects panel.
Diffstat (limited to 'tests/context_processors.py')
| -rw-r--r-- | tests/context_processors.py | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/tests/context_processors.py b/tests/context_processors.py new file mode 100644 index 0000000..3514639 --- /dev/null +++ b/tests/context_processors.py @@ -0,0 +1,3 @@ + +def custom(req): +    msg = req.myattr | 
