mirror of
				https://github.com/django/django.git
				synced 2025-11-03 21:25:09 +00:00 
			
		
		
		
	Fixed typo in queryset docs under update method.
This commit is contained in:
		
							parent
							
								
									7515f6576b
								
							
						
					
					
						commit
						074e65b04a
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1581,7 +1581,7 @@ does not call any ``save()`` methods on your models, nor does it emit the
 | 
			
		|||
:attr:`~django.db.models.signals.post_save` signals (which are a consequence of
 | 
			
		||||
calling :meth:`Model.save() <~django.db.models.Model.save()>`). If you want to
 | 
			
		||||
update a bunch of records for a model that has a custom
 | 
			
		||||
:meth:`~django.db.models.Model.save()`` method, loop over them and call
 | 
			
		||||
:meth:`~django.db.models.Model.save()` method, loop over them and call
 | 
			
		||||
:meth:`~django.db.models.Model.save()`, like this::
 | 
			
		||||
 | 
			
		||||
    for e in Entry.objects.filter(pub_date__year=2010):
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue