mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Fixed #22193 -- Made hint a truly optional arugment on check messages.
Thanks to Thomas Güttler for the suggestion.
This commit is contained in:
		| @@ -15,7 +15,7 @@ CRITICAL = 50 | ||||
| @python_2_unicode_compatible | ||||
| class CheckMessage(object): | ||||
|  | ||||
|     def __init__(self, level, msg, hint, obj=None, id=None): | ||||
|     def __init__(self, level, msg, hint=None, obj=None, id=None): | ||||
|         assert isinstance(level, int), "The first argument should be level." | ||||
|         self.level = level | ||||
|         self.msg = msg | ||||
|   | ||||
		Reference in New Issue
	
	Block a user