diff options
author | Adam Johnson <me@adamj.eu> | 2020-01-05 10:04:51 +0000 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-01-06 13:50:43 +0100 |
commit | 2ea3fb3e6386c43f124b542e92b817dbc227c76b (patch) | |
tree | 2decee1530b738f997c05b2c9b4438659125935a /tests/generic_views | |
parent | 1487f16f2d29c7aeaf48117d02a1d7bbeafa3d94 (diff) | |
download | django-2ea3fb3e6386c43f124b542e92b817dbc227c76b.tar.gz |
Removed "Don't do that" from docs and error messages.
It's slightly aggressive and doesn't explain itself.
Diffstat (limited to 'tests/generic_views')
-rw-r--r-- | tests/generic_views/test_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/generic_views/test_base.py b/tests/generic_views/test_base.py index c1ad30526e..7aaea3ffa0 100644 --- a/tests/generic_views/test_base.py +++ b/tests/generic_views/test_base.py @@ -143,8 +143,8 @@ class ViewTest(SimpleTestCase): be named like a HTTP method. """ msg = ( - "You tried to pass in the %s method name as a keyword argument " - "to SimpleView(). Don't do that." + 'The method name %s is not accepted as a keyword argument to ' + 'SimpleView().' ) # Check each of the allowed method names for method in SimpleView.http_method_names: |