mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +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:
committed by
Mariusz Felisiak
parent
1487f16f2d
commit
2ea3fb3e63
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user