Tim Graham 
							
						 
					 
					
						
						
							
						
						f23c03ebc8 
					 
					
						
						
							
							[1.10.x] Refs  #27186  -- Fixed model form default fallback for CheckboxSelectMultiple.  
						
						... 
						
						
						
						Backport of 87c5e7efeb 
						
						
					 
					
						2016-09-30 14:50:15 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						0b59ea3343 
					 
					
						
						
							
							[1.10.x]  Fixed   #27186  -- Fixed model form default fallback for MultiWidget, FileInput, SplitDateTimeWidget, SelectDateWidget, and SplitArrayWidget.  
						
						... 
						
						
						
						Thanks Matt Westcott for the review.
Backport of 3507d4e773 
						
						
					 
					
						2016-09-22 13:07:23 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						325dd0befe 
					 
					
						
						
							
							[1.10.x]  Fixed   #27039  -- Fixed empty data fallback to model field default in model forms.  
						
						... 
						
						
						
						Backport of 4bc6b93994 
						
						
					 
					
						2016-08-24 19:37:04 -04:00 
						 
				 
			
				
					
						
							
							
								Ed Henderson 
							
						 
					 
					
						
						
							
						
						521772ff07 
					 
					
						
						
							
							[1.10.x]  Fixed   #26021  -- Applied hanging indentation to docs.  
						
						... 
						
						
						
						Backport of 4a4d7f980e 
						
						
					 
					
						2016-06-03 11:49:24 -04:00 
						 
				 
			
				
					
						
							
							
								Sergey Fedoseev 
							
						 
					 
					
						
						
							
						
						f38e950685 
					 
					
						
						
							
							[1.10.x] Fixed typo in docs/topics/forms/modelforms.txt  
						
						... 
						
						
						
						Backport of 26794f6657 
						
						
					 
					
						2016-05-27 10:31:53 -04:00 
						 
				 
			
				
					
						
							
							
								rowanv 
							
						 
					 
					
						
						
							
						
						a6ef025dfb 
					 
					
						
						
							
							Fixed   #26124  -- Added missing code formatting to docs headers.  
						
						
						
						
					 
					
						2016-02-01 10:42:05 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						8e6a08e937 
					 
					
						
						
							
							Refs  #26142  -- Documented that Formset's extra=0 doesn't prevent creating objects.  
						
						
						
						
					 
					
						2016-01-26 19:12:01 -05:00 
						 
				 
			
				
					
						
							
							
								Elif T. Kus 
							
						 
					 
					
						
						
							
						
						bca9faae95 
					 
					
						
						
							
							Fixed   #26020  -- Normalized header stylings in docs.  
						
						
						
						
					 
					
						2016-01-22 12:12:17 -05:00 
						 
				 
			
				
					
						
							
							
								bmsleight 
							
						 
					 
					
						
						
							
						
						8715205c5c 
					 
					
						
						
							
							Fixed a typo in a modelforms docs example.  
						
						
						
						
					 
					
						2016-01-09 13:00:59 -05:00 
						 
				 
			
				
					
						
							
							
								Alexander Sosnovskiy 
							
						 
					 
					
						
						
							
						
						2a7ce34600 
					 
					
						
						
							
							Fixed   #14286  -- Added models.BigAutoField.  
						
						
						
						
					 
					
						2015-12-25 20:01:31 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						4d83b0163e 
					 
					
						
						
							
							Fixed   #25969  -- Replaced render_to_response() with render() in docs examples.  
						
						
						
						
					 
					
						2015-12-23 09:14:32 -05:00 
						 
				 
			
				
					
						
							
							
								Bryan Marty 
							
						 
					 
					
						
						
							
						
						455034d4df 
					 
					
						
						
							
							Fixed   #21516  -- Updated imports paths for some formset functions/classes.  
						
						... 
						
						
						
						Since refs #21489 , FormSet classes and factories are exposed on the
django.forms package. 
						
						
					 
					
						2015-10-28 15:44:53 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						e0837f2cb1 
					 
					
						
						
							
							Fixed   #25508  -- Modified QuerySet.__repr__() to disambiguate it from a list.  
						
						
						
						
					 
					
						2015-10-06 12:38:34 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						54848a96dd 
					 
					
						
						
							
							Removed versionadded/changed annotations for 1.8.  
						
						
						
						
					 
					
						2015-09-23 19:31:11 -04:00 
						 
				 
			
				
					
						
							
							
								Flavio Curella 
							
						 
					 
					
						
						
							
						
						c2e70f0265 
					 
					
						
						
							
							Fixed   #21127  -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField  
						
						
						
						
					 
					
						2015-07-27 18:28:13 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						1418f75304 
					 
					
						
						
							
							Fixed   #24684  -- Typo in docs/topics/forms/modelforms.txt  
						
						
						
						
					 
					
						2015-04-22 09:31:10 -04:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						37e23c6060 
					 
					
						
						
							
							Fixed   #24674  -- Documented the correct NullBooleanField formfield.  
						
						... 
						
						
						
						Thanks to knbk for the report. 
						
						
					 
					
						2015-04-20 15:18:41 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						6de3a1e2c3 
					 
					
						
						
							
							Fixed   #24541  -- Clarified ModelFormSet's handling of initial data.  
						
						
						
						
					 
					
						2015-03-28 08:54:59 -04:00 
						 
				 
			
				
					
						
							
							
								SaeX 
							
						 
					 
					
						
						
							
						
						19e41a9799 
					 
					
						
						
							
							Fixed typo in docs/topics/forms/modelforms.txt  
						
						
						
						
					 
					
						2015-03-28 07:40:38 -04:00 
						 
				 
			
				
					
						
							
							
								Dan Fellin 
							
						 
					 
					
						
						
							
						
						6ff826e12e 
					 
					
						
						
							
							Fixed typo in docs/topics/forms/modelforms.txt.  
						
						
						
						
					 
					
						2015-03-11 19:57:28 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						d0b01ca452 
					 
					
						
						
							
							Fixed typo in docs/topics/forms/modelforms.txt.  
						
						
						
						
					 
					
						2015-03-09 20:49:22 -04:00 
						 
				 
			
				
					
						
							
							
								Psilo Cybin 
							
						 
					 
					
						
						
							
						
						866e71140f 
					 
					
						
						
							
							Fixed   #24456  -- Update modelforms.txt table of Form/Model refs  
						
						... 
						
						
						
						Added links to the Form/Model table to the field reference docs to
point to their individual field references 
						
						
					 
					
						2015-03-08 10:12:53 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						a40a34a4b2 
					 
					
						
						
							
							Fixed   #13015  -- Clarified language about model instances attached to forms.  
						
						
						
						
					 
					
						2015-03-02 18:44:23 -05:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						00a889167f 
					 
					
						
						
							
							Fixed   #24295  -- Allowed ModelForm meta to specify form field classes.  
						
						... 
						
						
						
						Thanks Carl Meyer and Markus Holtermann for the reviews. 
						
						
					 
					
						2015-02-13 19:13:05 +07:00 
						 
				 
			
				
					
						
							
							
								Matt Westcott 
							
						 
					 
					
						
						
							
						
						8d64aae883 
					 
					
						
						
							
							Fixed   #24255  -- Specifed 'fields' parameter in modelformset_factory / inlineformset_factory examples.  
						
						
						
						
					 
					
						2015-02-02 10:46:33 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						c79faae761 
					 
					
						
						
							
							Removed versionadded/changed notes for 1.7.  
						
						
						
						
					 
					
						2015-02-01 21:02:40 -05:00 
						 
				 
			
				
					
						
							
							
								wrwrwr 
							
						 
					 
					
						
						
							
						
						a15aba66f2 
					 
					
						
						
							
							Fixed typo in docs/topics/forms/modelforms.txt.  
						
						
						
						
					 
					
						2014-11-27 10:53:06 -05:00 
						 
				 
			
				
					
						
							
							
								areski 
							
						 
					 
					
						
						
							
						
						9d6551204e 
					 
					
						
						
							
							Removed unnecessary code-block directives.  
						
						
						
						
					 
					
						2014-08-19 16:44:25 -04:00 
						 
				 
			
				
					
						
							
							
								Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						9fb0f5dddc 
					 
					
						
						
							
							Fixed   #22510  -- Harden field removal to only None.  
						
						... 
						
						
						
						Refs #8620 .
If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.
Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.
Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions. 
						
						
					 
					
						2014-05-24 13:10:50 +01:00 
						 
				 
			
				
					
						
							
							
								Niclas Åhdén 
							
						 
					 
					
						
						
							
						
						64ee097b3b 
					 
					
						
						
							
							Fixed   #22639  -- Added missing imports in docs  
						
						... 
						
						
						
						Added ModelForm and NON_FIELD_ERRORS imports. 
						
						
					 
					
						2014-05-21 17:11:01 +02:00 
						 
				 
			
				
					
						
							
							
								Niclas Åhdén 
							
						 
					 
					
						
						
							
						
						7271f5db78 
					 
					
						
						
							
							Fixed   #22622  -- Added ugettext_lazy import in docs  
						
						
						
						
					 
					
						2014-05-16 11:20:31 -04:00 
						 
				 
			
				
					
						
							
							
								Ramiro Morales 
							
						 
					 
					
						
						
							
						
						cb5dd99bb4 
					 
					
						
						
							
							Corrected an import in a model form docs example.  
						
						
						
						
					 
					
						2014-03-30 20:31:07 -03:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						51c8045145 
					 
					
						
						
							
							Removed versionadded/changed annotations for 1.6.  
						
						
						
						
					 
					
						2014-03-24 11:42:56 -04:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						3a97f992fb 
					 
					
						
						
							
							Fixed   #22313  -- Removed 'u' prefixes from documentation  
						
						
						
						
					 
					
						2014-03-22 21:32:20 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						ee4edb1eda 
					 
					
						
						
							
							Made ModelForms raise ImproperlyConfigured if the list of fields is not specified.  
						
						... 
						
						
						
						Also applies to modelform(set)_factory and generic model views.
refs #19733 . 
						
						
					 
					
						2014-03-22 07:56:48 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						7f2505ad9e 
					 
					
						
						
							
							Fixed doc typos.  
						
						
						
						
					 
					
						2014-02-28 11:44:03 -05:00 
						 
				 
			
				
					
						
							
							
								Alasdair Nicol 
							
						 
					 
					
						
						
							
						
						8aa1efff6d 
					 
					
						
						
							
							Fixed   #21951  -- Updated docs to use __str__ for Python 3  
						
						... 
						
						
						
						Thanks Tim Graham for the report and recommendations 
						
						
					 
					
						2014-02-13 07:12:40 -05:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						8847a0c601 
					 
					
						
						
							
							Fixed   #16192  -- Made unique error messages in ModelForm customizable.  
						
						... 
						
						
						
						Overriding the error messages now works for both unique fields, unique_together
and unique_for_date.
This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS
since previously only fields' errors were customizable.
Refs #20199 .
Thanks leahculver for the suggestion. 
						
						
					 
					
						2014-02-08 04:59:09 -05:00 
						 
				 
			
				
					
						
							
							
								Alasdair Nicol 
							
						 
					 
					
						
						
							
						
						1fa681ee11 
					 
					
						
						
							
							Fixed   #21539  -- Added example of modelformset_factory's form argument  
						
						
						
						
					 
					
						2013-12-14 16:35:14 -05:00 
						 
				 
			
				
					
						
							
							
								Christian Schmitt 
							
						 
					 
					
						
						
							
						
						744aac6dac 
					 
					
						
						
							
							Fixed   #21560  -- missing 'slug' field in example code  
						
						... 
						
						
						
						I updated the documentation, that the modelform now includes the 'slug' field. 
						
						
					 
					
						2013-12-09 22:54:11 +01:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						033b26173b 
					 
					
						
						
							
							Improved docs for ModelFormSet.clean().  
						
						
						
						
					 
					
						2013-11-22 19:48:54 -05:00 
						 
				 
			
				
					
						
							
							
								Tianyi Wang 
							
						 
					 
					
						
						
							
						
						944a2bb7c1 
					 
					
						
						
							
							Improvement on InlineFormSet doc, refs  #21006  
						
						
						
						
					 
					
						2013-10-15 14:51:45 +01:00 
						 
				 
			
				
					
						
							
							
								Tianyi Wang 
							
						 
					 
					
						
						
							
						
						9bfe66164e 
					 
					
						
						
							
							Fixed   #21006  -- Added example code for overriding methods on an InlineFormSet.  
						
						... 
						
						
						
						Thanks treysta at gmail.com for the suggestion. 
						
						
					 
					
						2013-10-15 07:34:29 -04:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						b16dd1fe01 
					 
					
						
						
							
							Fixed   #8620  -- Updated the Form metaclass to support excluding fields by shadowing them.  
						
						
						
						
					 
					
						2013-10-14 22:42:33 +07:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						ac5ec7b8bc 
					 
					
						
						
							
							Fixed   #19617  -- Refactored Form metaclasses to support more inheritance scenarios.  
						
						... 
						
						
						
						Thanks apollo13, funkybob and mjtamlyn for the reviews. 
						
						
					 
					
						2013-10-14 21:59:30 +07:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						54cd930baf 
					 
					
						
						
							
							Clarfied the ModelForm docs with respect to generated vs. declared fields.  
						
						... 
						
						
						
						The ModelForm docs suggested that fields defined declaratively override
default fields generated from the form Meta.
This is conceptually wrong, especially with inheritance in mind. Meta is
usually defined on the topmost ModelForm subclass, while fields can come
from anywhere in the MRO, especially base classes; therefore we suggested
that something defined in a base class override something from a subclass.
This patch rephrases the docs around the idea that Meta is used to generate
*missing* fields.
Refs #8620 , #19617 .
Thanks @mjtamlyn and @timgraham for the review. 
						
						
					 
					
						2013-10-14 10:54:22 -04:00 
						 
				 
			
				
					
						
							
							
								Phaneendra Chiruvella 
							
						 
					 
					
						
						
							
						
						2fbf949760 
					 
					
						
						
							
							Minor spelling correction in ModelForms docs  
						
						
						
						
					 
					
						2013-08-28 16:05:46 +05:30 
						 
				 
			
				
					
						
							
							
								Dominic Rodger 
							
						 
					 
					
						
						
							
						
						c33d1ca1d9 
					 
					
						
						
							
							Fixed   #20852  - Fixed incorrectly generated left quotes in docs.  
						
						... 
						
						
						
						Sphinx generates left single quotes for apostrophes after
code markup, when right single quotes are required. The
easiest way to fix this is just by inserting the unicode
character for a right single quote.
Instances of the problem were found by looking for
">‘" in the generated HTML. 
						
						
					 
					
						2013-08-06 07:13:17 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						65e03a424e 
					 
					
						
						
							
							Fixed   #10284  -- ModelFormSet.save(commit=False) no longer deletes objects  
						
						... 
						
						
						
						Thanks laureline.guerin@ and Wedg. 
						
						
					 
					
						2013-07-23 16:21:23 -04:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						fba6c2ede7 
					 
					
						
						
							
							Reworked docs for ModelForm validation.  
						
						
						
						
					 
					
						2013-07-16 19:20:53 -04:00