mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Removed "Don't do that" from docs and error messages.
It's slightly aggressive and doesn't explain itself.
This commit is contained in:
parent
1487f16f2d
commit
2ea3fb3e63
5 changed files with 14 additions and 20 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue