mirror of
				https://github.com/django/django.git
				synced 2025-11-03 21:25:09 +00:00 
			
		
		
		
	Fixed #16985 -- corrected a few grammar errors in the docs.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		
							parent
							
								
									2a044732f6
								
							
						
					
					
						commit
						749f0721c4
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -273,7 +273,7 @@ getting to that data.
 | 
			
		|||
 | 
			
		||||
Default: ``False``
 | 
			
		||||
 | 
			
		||||
Lets create a formset with the ability to order::
 | 
			
		||||
Lets you create a formset with the ability to order::
 | 
			
		||||
 | 
			
		||||
    >>> ArticleFormSet = formset_factory(ArticleForm, can_order=True)
 | 
			
		||||
    >>> formset = ArticleFormSet(initial=[
 | 
			
		||||
| 
						 | 
				
			
			@ -294,7 +294,7 @@ Lets create a formset with the ability to order::
 | 
			
		|||
 | 
			
		||||
This adds an additional field to each form. This new field is named ``ORDER``
 | 
			
		||||
and is an ``forms.IntegerField``. For the forms that came from the initial
 | 
			
		||||
data it automatically assigned them a numeric value. Lets look at what will
 | 
			
		||||
data it automatically assigned them a numeric value. Let's look at what will
 | 
			
		||||
happen when the user changes these values::
 | 
			
		||||
 | 
			
		||||
    >>> data = {
 | 
			
		||||
| 
						 | 
				
			
			@ -329,7 +329,7 @@ happen when the user changes these values::
 | 
			
		|||
 | 
			
		||||
Default: ``False``
 | 
			
		||||
 | 
			
		||||
Lets create a formset with the ability to delete::
 | 
			
		||||
Lets you create a formset with the ability to delete::
 | 
			
		||||
 | 
			
		||||
    >>> ArticleFormSet = formset_factory(ArticleForm, can_delete=True)
 | 
			
		||||
    >>> formset = ArticleFormSet(initial=[
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue