mirror of
				https://github.com/django/django.git
				synced 2025-11-04 05:35:37 +00:00 
			
		
		
		
	4 flake8 warning fixes
This commit is contained in:
		
							parent
							
								
									abccbcf52d
								
							
						
					
					
						commit
						add1584bfa
					
				
					 3 changed files with 2 additions and 3 deletions
				
			
		| 
						 | 
					@ -17,7 +17,6 @@ from django.db.models.constants import LOOKUP_SEP
 | 
				
			||||||
from django.db.models.aggregates import refs_aggregate
 | 
					from django.db.models.aggregates import refs_aggregate
 | 
				
			||||||
from django.db.models.expressions import ExpressionNode
 | 
					from django.db.models.expressions import ExpressionNode
 | 
				
			||||||
from django.db.models.fields import FieldDoesNotExist
 | 
					from django.db.models.fields import FieldDoesNotExist
 | 
				
			||||||
from django.db.models.lookups import Transform
 | 
					 | 
				
			||||||
from django.db.models.query_utils import Q
 | 
					from django.db.models.query_utils import Q
 | 
				
			||||||
from django.db.models.related import PathInfo
 | 
					from django.db.models.related import PathInfo
 | 
				
			||||||
from django.db.models.sql import aggregates as base_aggregates_module
 | 
					from django.db.models.sql import aggregates as base_aggregates_module
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -7,6 +7,7 @@ from django.utils.encoding import python_2_unicode_compatible
 | 
				
			||||||
from django.contrib.contenttypes.models import ContentType
 | 
					from django.contrib.contenttypes.models import ContentType
 | 
				
			||||||
from django.contrib.contenttypes.fields import GenericForeignKey
 | 
					from django.contrib.contenttypes.fields import GenericForeignKey
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
class Album(models.Model):
 | 
					class Album(models.Model):
 | 
				
			||||||
    title = models.CharField(max_length=150)
 | 
					    title = models.CharField(max_length=150)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -318,4 +318,3 @@ class FieldDeconstructionTests(TestCase):
 | 
				
			||||||
        self.assertEqual(path, "django.db.models.URLField")
 | 
					        self.assertEqual(path, "django.db.models.URLField")
 | 
				
			||||||
        self.assertEqual(args, [])
 | 
					        self.assertEqual(args, [])
 | 
				
			||||||
        self.assertEqual(kwargs, {"max_length": 231})
 | 
					        self.assertEqual(kwargs, {"max_length": 231})
 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue