mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed unneeded hint=None/obj=None in system check messages.
This commit is contained in:
@@ -39,7 +39,7 @@ check function::
|
||||
errors.append(
|
||||
Error(
|
||||
'an error',
|
||||
hint=None,
|
||||
hint='A hint.',
|
||||
obj=checked_object,
|
||||
id='myapp.E001',
|
||||
)
|
||||
@@ -195,7 +195,7 @@ Messages are comparable. That allows you to easily write tests::
|
||||
expected_errors = [
|
||||
Error(
|
||||
'an error',
|
||||
hint=None,
|
||||
hint='A hint.',
|
||||
obj=checked_object,
|
||||
id='myapp.E001',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user