Chris Lamb 
							
						 
					 
					
						
						
							
						
						77b8d8cb6d 
					 
					
						
						
							
							Discouraged use of /tmp with predictable names.  
						
						... 
						
						
						
						The use of predictable filenames in /tmp often leads to symlink attacks
so remove the most obvious use of them in the docs. 
						
						
					 
					
						2015-12-24 09:54:33 -05:00 
						 
				 
			
				
					
						
							
							
								Alexander Sosnovskiy 
							
						 
					 
					
						
						
							
						
						b61eab18f7 
					 
					
						
						
							
							Fixed   #13774  -- Added models.Field.rel_db_type().  
						
						
						
						
					 
					
						2015-12-04 07:55:41 -05:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						7aabd62380 
					 
					
						
						
							
							Fixed   #25778  -- Updated docs links to use https when available.  
						
						
						
						
					 
					
						2015-12-01 08:01:34 -05:00 
						 
				 
			
				
					
						
							
							
								Bulgantamir Gankhuyag 
							
						 
					 
					
						
						
							
						
						8bce6fa637 
					 
					
						
						
							
							Clarified default value for DateField to emulate auto_now_add.  
						
						
						
						
					 
					
						2015-11-24 08:38:14 -05:00 
						 
				 
			
				
					
						
							
							
								areski 
							
						 
					 
					
						
						
							
						
						1e7da99ea6 
					 
					
						
						
							
							Corrected GenericIPAddressField protocol parameter doc.  
						
						
						
						
					 
					
						2015-11-19 11:18:31 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						54848a96dd 
					 
					
						
						
							
							Removed versionadded/changed annotations for 1.8.  
						
						
						
						
					 
					
						2015-09-23 19:31:11 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						5980b05c1f 
					 
					
						
						
							
							Fixed   #25160  -- Moved unsaved model instance data loss check to Model.save()  
						
						... 
						
						
						
						This mostly reverts 5643a3b51b81e1a35c36 
						
						
					 
					
						2015-08-10 08:51:32 -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 
							
						 
					 
					
						
						
							
						
						87d55081ea 
					 
					
						
						
							
							Fixed   #25159  -- Removed brackets from class/function/method signatures in docs.  
						
						... 
						
						
						
						Thanks hellbeast for the initial patch. 
						
						
					 
					
						2015-07-27 10:32:47 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						b60375d4bb 
					 
					
						
						
							
							Fixed   #25129  -- Made model instance defaults work with migrations (refs  #24919 ).  
						
						
						
						
					 
					
						2015-07-21 09:19:40 -04:00 
						 
				 
			
				
					
						
							
							
								Edward Henderson 
							
						 
					 
					
						
						
							
						
						f8cc464452 
					 
					
						
						
							
							Fixed   #16501  -- Added an allow_unicode parameter to SlugField.  
						
						... 
						
						
						
						Thanks Flavio Curella and Berker Peksag for the initial patch. 
						
						
					 
					
						2015-07-17 13:48:58 -04:00 
						 
				 
			
				
					
						
							
							
								Matt Deacalion Stevens 
							
						 
					 
					
						
						
							
						
						77f3d7adb1 
					 
					
						
						
							
							Clarified the default form widgets for model number fields in docs  
						
						
						
						
					 
					
						2015-06-09 12:33:01 -04:00 
						 
				 
			
				
					
						
							
							
								Yamila Moreno 
							
						 
					 
					
						
						
							
						
						cbe4efcbc1 
					 
					
						
						
							
							Fixed   #22571  -- Added clarification about auto_now_add=True  
						
						
						
						
					 
					
						2015-06-05 09:56:02 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						2b086229a2 
					 
					
						
						
							
							Fixed   #24665  -- Clarified model field flag defaults.  
						
						
						
						
					 
					
						2015-04-29 20:35:22 -04:00 
						 
				 
			
				
					
						
							
							
								Christopher Luc 
							
						 
					 
					
						
						
							
						
						8119876d4a 
					 
					
						
						
							
							Improved docs for timezone handling for auto_now and auto_now_add  
						
						... 
						
						
						
						Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review. 
						
						
					 
					
						2015-03-29 22:32:05 +02:00 
						 
				 
			
				
					
						
							
							
								Matt Seymour 
							
						 
					 
					
						
						
							
						
						98c5370ef6 
					 
					
						
						
							
							Fixed   #24510  -- Clarified FileField.upload_to docs.  
						
						
						
						
					 
					
						2015-03-26 19:21:12 -04:00 
						 
				 
			
				
					
						
							
							
								Fabio Natali 
							
						 
					 
					
						
						
							
						
						cb506aed2a 
					 
					
						
						
							
							Fixed   #23814  -- Documented apps refactored out of Django.  
						
						
						
						
					 
					
						2015-03-25 08:46:23 -04:00 
						 
				 
			
				
					
						
							
							
								Iacopo Spalletti 
							
						 
					 
					
						
						
							
						
						87fed94440 
					 
					
						
						
							
							Fixed   #23814  -- Pointed localflavor documentation to external package  
						
						... 
						
						
						
						Edited localflavor doc to point to the external package documentation,
leaving just the 'How to migrate' section in Django. 
						
						
					 
					
						2015-03-22 15:31:54 +01:00 
						 
				 
			
				
					
						
							
							
								Karl Hobley 
							
						 
					 
					
						
						
							
						
						81e1a35c36 
					 
					
						
						
							
							Fixed   #24495  -- Allowed unsaved model instance assignment check to be bypassed.  
						
						
						
						
					 
					
						2015-03-18 19:00:09 -04:00 
						 
				 
			
				
					
						
							
							
								Steven Das 
							
						 
					 
					
						
						
							
						
						53bc6e2e98 
					 
					
						
						
							
							Fixed typo in docs/ref/models/fields.txt  
						
						
						
						
					 
					
						2015-03-12 19:16:05 -04:00 
						 
				 
			
				
					
						
							
							
								Floris den Hengst 
							
						 
					 
					
						
						
							
						
						b9b8411129 
					 
					
						
						
							
							Fixed   #24432  -- Added docs for ManyToManyFields that reside in and refer to the same model.  
						
						
						
						
					 
					
						2015-03-09 20:44:55 -04:00 
						 
				 
			
				
					
						
							
							
								Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						32d4db66b9 
					 
					
						
						
							
							Update converters to take a consistent set of parameters.  
						
						... 
						
						
						
						As suggested by Anssi. This has the slightly strange side effect of
passing the expression to Expression.convert_value has the expression
passed back to it, but it allows more complex patterns of expressions. 
						
						
					 
					
						2015-02-20 11:35:52 +00:00 
						 
				 
			
				
					
						
							
							
								Loic Bistuer 
							
						 
					 
					
						
						
							
						
						18c0aaa912 
					 
					
						
						
							
							Fixed   #24289  -- Reversed usage of Field.many_to_one and one_to_many.  
						
						... 
						
						
						
						Thanks Carl Meyer and Tim Graham for the reviews and to all involved
in the discussion. 
						
						
					 
					
						2015-02-14 02:28:24 +07:00 
						 
				 
			
				
					
						
							
							
								Anssi Kääriäinen 
							
						 
					 
					
						
						
							
						
						8adc59038c 
					 
					
						
						
							
							Fixed   #23617  -- Added get_pk_value_on_save()  
						
						... 
						
						
						
						The method is mainly intended for use with UUIDField. For UUIDField we
want to call the field's default even when primary key value is
explicitly set to None to match the behavior of AutoField.
Thanks to Marc Tamlyn and Tim Graham for review. 
						
						
					 
					
						2015-02-03 09:23:44 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						c79faae761 
					 
					
						
						
							
							Removed versionadded/changed notes for 1.7.  
						
						
						
						
					 
					
						2015-02-01 21:02:40 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						33457cd3b0 
					 
					
						
						
							
							Removed IPAddressField per deprecation timeline; refs  #20439 .  
						
						
						
						
					 
					
						2015-01-19 11:12:57 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						7e8cf74dc7 
					 
					
						
						
							
							Removed support for syncing apps without migrations per deprecation timeline.  
						
						... 
						
						
						
						Kept support for creating models without migrations when running tests
(especially for Django's test suite). 
						
						
					 
					
						2015-01-18 15:58:06 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						4aa089a9a9 
					 
					
						
						
							
							Removed support for custom SQL per deprecation timeline.  
						
						
						
						
					 
					
						2015-01-17 10:16:06 -05:00 
						 
				 
			
				
					
						
							
							
								Anssi Kääriäinen 
							
						 
					 
					
						
						
							
						
						0c7633178f 
					 
					
						
						
							
							Fixed   #24020  -- Refactored SQL compiler to use expressions  
						
						... 
						
						
						
						Refactored compiler SELECT, GROUP BY and ORDER BY generation.
While there, also refactored select_related() implementation
(get_cached_row() and get_klass_info() are now gone!).
Made get_db_converters() method work on expressions instead of
internal_type. This allows the backend converters to target
specific expressions if need be.
Added query.context, this can be used to set per-query state.
Also changed the signature of database converters. They now accept
context as an argument. 
						
						
					 
					
						2015-01-08 14:07:54 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Pyrathon 
							
						 
					 
					
						
						
							
						
						fb48eb0581 
					 
					
						
						
							
							Fixed   #12663  -- Formalized the Model._meta API for retrieving fields.  
						
						... 
						
						
						
						Thanks to Russell Keith-Magee for mentoring this Google Summer of
Code 2014 project and everyone else who helped with the patch! 
						
						
					 
					
						2015-01-06 19:25:12 -05:00 
						 
				 
			
				
					
						
							
							
								Helen Sherwood-Taylor 
							
						 
					 
					
						
						
							
						
						4ccdf6e57f 
					 
					
						
						
							
							Fixed   #24041  -- Documented effect of changing a model instance's primary key.  
						
						
						
						
					 
					
						2014-12-24 15:06:09 -05:00 
						 
				 
			
				
					
						
							
							
								Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						5ca82e710e 
					 
					
						
						
							
							Fixed   #24033  -- Use interval type on Oracle.  
						
						... 
						
						
						
						Use INTERVAL DAY(9) TO SECOND(6) for Durationfield on Oracle rather than
storing as a NUMBER(19) of microseconds.
There are issues with cx_Oracle which require some extra data
manipulation in the database backend when constructing queries, but it
handles the conversion back to timedelta objects cleanly.
Thanks to Shai for the review. 
						
						
					 
					
						2014-12-23 10:38:32 +00:00 
						 
				 
			
				
					
						
							
							
								Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						57554442fe 
					 
					
						
						
							
							Fixed   #2443  -- Added DurationField.  
						
						... 
						
						
						
						A field for storing periods of time - modeled in Python by timedelta. It
is stored in the native interval data type on PostgreSQL and as a bigint
of microseconds on other backends.
Also includes significant changes to the internals of time related maths
in expressions, including the removal of DateModifierNode.
Thanks to Tim and Josh in particular for reviews. 
						
						
					 
					
						2014-12-20 18:28:29 +00:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						1aa41dd000 
					 
					
						
						
							
							Fixed   #23974  -- Clarified wording of FileField.save/delete save parameter.  
						
						... 
						
						
						
						Thanks GreenAsJade. 
						
						
					 
					
						2014-12-08 13:15:46 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						5281d9620d 
					 
					
						
						
							
							Fixed   #23965  -- Mentioned that FieldFile inherits from File  
						
						
						
						
					 
					
						2014-12-06 11:51:32 -05:00 
						 
				 
			
				
					
						
							
							
								Raul Cumplido 
							
						 
					 
					
						
						
							
						
						68d3db8a7b 
					 
					
						
						
							
							Fixed   #23725  -- Substituted AUTH_USER_MODEL for User in docs.  
						
						
						
						
					 
					
						2014-10-30 08:29:18 -04:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						c1b9f99a81 
					 
					
						
						
							
							Fixed   #23676  -- Rearranged sentence; "by default" applies only to max length  
						
						
						
						
					 
					
						2014-10-18 06:55:11 -04:00 
						 
				 
			
				
					
						
							
							
								Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						acdbecda05 
					 
					
						
						
							
							Fix formatting error in UUIDField docs.  
						
						
						
						
					 
					
						2014-10-04 12:22:11 +01:00 
						 
				 
			
				
					
						
							
							
								Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						ed7821231b 
					 
					
						
						
							
							Fixed   #19463  -- Added UUIDField  
						
						... 
						
						
						
						Uses native support in postgres, and char(32) on other backends. 
						
						
					 
					
						2014-09-16 10:08:09 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						60c38c1a4e 
					 
					
						
						
							
							Fixed   #23281  -- Added "concrete model" to glossary.  
						
						... 
						
						
						
						Thanks knowledgepoint-devs for the suggestion. 
						
						
					 
					
						2014-09-08 08:45:47 -04:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						6d504562f5 
					 
					
						
						
							
							Fixed   #22534 : Reinforce swappable documentation  
						
						
						
						
					 
					
						2014-09-05 11:39:55 -07:00 
						 
				 
			
				
					
						
							
							
								Marc Tamlyn 
							
						 
					 
					
						
						
							
						
						e9103402c0 
					 
					
						
						
							
							Fixed   #18757 ,  #14462 ,  #21565  -- Reworked database-python type conversions  
						
						... 
						
						
						
						Complete rework of translating data values from database
Deprecation of SubfieldBase, removal of resolve_columns and
convert_values in favour of a more general converter based approach and
public API Field.from_db_value(). Now works seamlessly with aggregation,
.values() and raw queries.
Thanks to akaariai in particular for extensive advice and inspiration,
also to shaib, manfre and timograham for their reviews. 
						
						
					 
					
						2014-09-03 20:36:03 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						05a8cef428 
					 
					
						
						
							
							Corrected a usage example of related_query_name.  
						
						... 
						
						
						
						Thanks to Petr Glotov for spotting this. 
						
						
					 
					
						2014-08-29 23:10:30 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						c587bd5a94 
					 
					
						
						
							
							Fixed   #17272  -- Documented that non-editable fields are skipped during model validation.  
						
						... 
						
						
						
						Thanks mitar for the report. 
						
						
					 
					
						2014-08-19 07:18:05 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						5dbe2a9431 
					 
					
						
						
							
							Fixed   #4991  -- Emphasized XSS ramifications of help_text not being escaped.  
						
						
						
						
					 
					
						2014-08-19 06:16:05 -04:00 
						 
				 
			
				
					
						
							
							
								areski 
							
						 
					 
					
						
						
							
						
						2a4492aecb 
					 
					
						
						
							
							Fixed   #23224  - Documented EmailValidator.  
						
						
						
						
					 
					
						2014-08-14 13:28:12 -04:00 
						 
				 
			
				
					
						
							
							
								Christoph Heer 
							
						 
					 
					
						
						
							
						
						d47409831f 
					 
					
						
						
							
							Fixed   #23067  -- Updated docs to use django-admin  
						
						
						
						
					 
					
						2014-07-30 14:14:03 -04:00 
						 
				 
			
				
					
						
							
							
								Jorge C. Leitão 
							
						 
					 
					
						
						
							
						
						e1fa7dffdc 
					 
					
						
						
							
							Fixed   #22809  -- Added model Field API reference.  
						
						... 
						
						
						
						Thanks to @timgraham for the review. 
						
						
					 
					
						2014-07-10 06:03:04 -04:00 
						 
				 
			
				
					
						
							
							
								Anubhav Joshi 
							
						 
					 
					
						
						
							
						
						011abb7d96 
					 
					
						
						
							
							Fixed   #19671  -- Added warnings that null and validators are ignored for ManyToManyField.  
						
						... 
						
						
						
						Thanks Loic Bistuer and Tim Graham for help and review. 
						
						
					 
					
						2014-07-09 16:01:09 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						5ebf03b7dd 
					 
					
						
						
							
							Fixed   #22351  -- Removed usage of lambdas in model field options.  
						
						... 
						
						
						
						Thanks claudep for review. 
						
						
					 
					
						2014-07-09 07:31:50 -04:00