mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Removed unneeded hint=None/obj=None in system check messages.
This commit is contained in:
parent
36f1f5cfb0
commit
004ba0f99e
30 changed files with 287 additions and 495 deletions
|
|
@ -8,9 +8,4 @@ from django.db import models
|
|||
class ModelRaisingMessages(models.Model):
|
||||
@classmethod
|
||||
def check(self, **kwargs):
|
||||
return [
|
||||
checks.Warning(
|
||||
'A warning',
|
||||
hint=None,
|
||||
),
|
||||
]
|
||||
return [checks.Warning('A warning')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue