mirror of
				https://github.com/django/django.git
				synced 2025-11-04 05:35:37 +00:00 
			
		
		
		
	Fixed typo in error message.
This commit is contained in:
		
							parent
							
								
									38be3cf5e4
								
							
						
					
					
						commit
						06bd181f97
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -783,7 +783,7 @@ class ModelAdminChecks(BaseModelAdminChecks):
 | 
			
		|||
            elif not field.editable:
 | 
			
		||||
                return [
 | 
			
		||||
                    checks.Error(
 | 
			
		||||
                        '"%s" refers to field "%s", whih is not editable through the admin.' % (
 | 
			
		||||
                        '"%s" refers to field "%s", which is not editable through the admin.' % (
 | 
			
		||||
                            label, field_name
 | 
			
		||||
                        ),
 | 
			
		||||
                        hint=None,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,7 +64,7 @@ class SystemChecksTestCase(TestCase):
 | 
			
		|||
        expected = [
 | 
			
		||||
            checks.Error(
 | 
			
		||||
                ('"list_editable[0]" refers to field "original_release", '
 | 
			
		||||
                    'whih is not editable through the admin.'),
 | 
			
		||||
                    'which is not editable through the admin.'),
 | 
			
		||||
                hint=None,
 | 
			
		||||
                obj=SongAdmin,
 | 
			
		||||
                id='admin.E126',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue