diff options
Diffstat (limited to 'tests/context_processors.py')
| -rw-r--r-- | tests/context_processors.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/context_processors.py b/tests/context_processors.py index 3514639..4c08000 100644 --- a/tests/context_processors.py +++ b/tests/context_processors.py @@ -1,3 +1,2 @@ - -def custom(req): - msg = req.myattr +def custom(request): + request.non_existing_attribute |
