Matthew Ellison 
							
						 
					 
					
						
						
							
						
						1a24d599b3 
					 
					
						
						
							
							Field Choices Now Accept Subclasses of Documents  
						
						... 
						
						
						
						- Fields containing 'choices' of which a choice is an
  EmbeddedDocument or Document will now accept subclasses of that
  choice. 
						
						
					 
					
						2015-01-11 20:54:59 -05:00 
						 
				 
			
				
					
						
							
							
								Rik 
							
						 
					 
					
						
						
							
						
						80f80cd31f 
					 
					
						
						
							
							fixed more tests that were using undefined model fields  
						
						
						
						
					 
					
						2014-11-29 23:20:31 -02:00 
						 
				 
			
				
					
						
							
							
								Rik 
							
						 
					 
					
						
						
							
						
						1cac35be03 
					 
					
						
						
							
							using python 2.6 compatible way of assertRaises  
						
						
						
						
					 
					
						2014-11-29 23:20:30 -02:00 
						 
				 
			
				
					
						
							
							
								Rik 
							
						 
					 
					
						
						
							
						
						6d48100f44 
					 
					
						
						
							
							add test if FieldDoesNotExist is raised  
						
						... 
						
						
						
						When trying to set an undefined field. 
						
						
					 
					
						2014-11-29 23:20:30 -02:00 
						 
				 
			
				
					
						
							
							
								Rik 
							
						 
					 
					
						
						
							
						
						67bf6afc89 
					 
					
						
						
							
							fixed tests that were using undefined model fields  
						
						
						
						
					 
					
						2014-11-29 23:20:30 -02:00 
						 
				 
			
				
					
						
							
							
								Matthew Ellison 
							
						 
					 
					
						
						
							
						
						43af9f3fad 
					 
					
						
						
							
							Update Tests for EmbeddedDocument Unique Indicies  
						
						
						
						
					 
					
						2014-11-20 11:20:04 -05:00 
						 
				 
			
				
					
						
							
							
								David Bordeynik 
							
						 
					 
					
						
						
							
						
						8965172603 
					 
					
						
						
							
							fix-#515: sparse fields  
						
						
						
						
					 
					
						2014-11-14 21:45:46 +02:00 
						 
				 
			
				
					
						
							
							
								Axel Haustant 
							
						 
					 
					
						
						
							
						
						6f645e8619 
					 
					
						
						
							
							Added MultiPoint, MultiLine and MultiPolygon fields  
						
						
						
						
					 
					
						2014-08-28 19:36:29 +02:00 
						 
				 
			
				
					
						
							
							
								DavidBord 
							
						 
					 
					
						
						
							
						
						9b30afeca9 
					 
					
						
						
							
							fix-#397: Allow specifying the '_cls' as a field for indexes  
						
						
						
						
					 
					
						2014-08-24 10:51:49 +03:00 
						 
				 
			
				
					
						
							
							
								Yohan Graterol 
							
						 
					 
					
						
						
							
						
						9f8cd33d43 
					 
					
						
						
							
							Fix conflict for merge PR  #726  
						
						
						
						
					 
					
						2014-08-20 11:05:53 -05:00 
						 
				 
			
				
					
						
							
							
								Bob Cribbs 
							
						 
					 
					
						
						
							
						
						0462f18680 
					 
					
						
						
							
							Allow atomic update for the entire DictField  
						
						
						
						
					 
					
						2014-08-19 23:38:36 +03:00 
						 
				 
			
				
					
						
							
							
								Jay Shirley 
							
						 
					 
					
						
						
							
						
						85336f9777 
					 
					
						
						
							
							Relax the RegEx restrictions to allow the new ICAAN TLDs.  
						
						
						
						
					 
					
						2014-08-08 09:11:05 -07:00 
						 
				 
			
				
					
						
							
							
								Wilson Junior 
							
						 
					 
					
						
						
							
						
						f17f8b48c2 
					 
					
						
						
							
							small fixes for python2.6  
						
						
						
						
					 
					
						2014-08-03 18:59:50 -04:00 
						 
				 
			
				
					
						
							
							
								Wilson Júnior 
							
						 
					 
					
						
						
							
						
						b4d6f6b947 
					 
					
						
						
							
							added documentation about CachedReferenceField  
						
						
						
						
					 
					
						2014-07-30 09:32:33 -03:00 
						 
				 
			
				
					
						
							
							
								Wilson Júnior 
							
						 
					 
					
						
						
							
						
						6c0112c2be 
					 
					
						
						
							
							refs  #709 , added support to disable auto_sync  
						
						
						
						
					 
					
						2014-07-25 18:12:26 -03:00 
						 
				 
			
				
					
						
							
							
								Wilson Júnior 
							
						 
					 
					
						
						
							
						
						87c97efce0 
					 
					
						
						
							
							refs  #709 , added CachedReferenceField.sync_all to sync all documents on demand  
						
						
						
						
					 
					
						2014-07-25 08:44:59 -03:00 
						 
				 
			
				
					
						
							
							
								Wilson Júnior 
							
						 
					 
					
						
						
							
						
						6c4aee1479 
					 
					
						
						
							
							added CachedReferenceField restriction to use in EmbeddedDocument  
						
						
						
						
					 
					
						2014-07-17 13:42:34 -03:00 
						 
				 
			
				
					
						
							
							
								Wilson Júnior 
							
						 
					 
					
						
						
							
						
						30fdd3e184 
					 
					
						
						
							
							Added initial CachedReferenceField  
						
						
						
						
					 
					
						2014-07-16 10:32:43 -03:00 
						 
				 
			
				
					
						
							
							
								Omer Katz 
							
						 
					 
					
						
						
							
						
						8e852bce02 
					 
					
						
						
							
							Pillow provides a more descriptive error message, therefor the build failure.  
						
						
						
						
					 
					
						2014-06-25 10:58:00 +03:00 
						 
				 
			
				
					
						
							
							
								Matthew Owen 
							
						 
					 
					
						
						
							
						
						f7302f710b 
					 
					
						
						
							
							Reject email addresses where hostname ends with '.'  
						
						
						
						
					 
					
						2013-12-05 09:50:12 -08:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						8dcd998945 
					 
					
						
						
							
							Merge pull request  #499  from drudim/master  
						
						... 
						
						
						
						Error in GenericReferenceField serialization was fixed 
						
						
					 
					
						2013-11-29 04:06:04 -08:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						6925344807 
					 
					
						
						
							
							Test updates  
						
						
						
						
					 
					
						2013-11-29 12:01:14 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						3a3b96e0be 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/pr/485'  
						
						
						
						
					 
					
						2013-11-29 10:32:49 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						dfe8987aaa 
					 
					
						
						
							
							Updated geo tests  
						
						
						
						
					 
					
						2013-11-29 09:09:16 +00:00 
						 
				 
			
				
					
						
							
							
								Dmytro Popovych 
							
						 
					 
					
						
						
							
						
						11d4f6499a 
					 
					
						
						
							
							Python 2.5-2.6 compatibility fix  
						
						
						
						
					 
					
						2013-10-20 20:21:57 +03:00 
						 
				 
			
				
					
						
							
							
								Dmytro Popovych 
							
						 
					 
					
						
						
							
						
						f2c25b4744 
					 
					
						
						
							
							Error in GenericReferenceField serialization was fixed  
						
						
						
						
					 
					
						2013-10-20 20:08:00 +03:00 
						 
				 
			
				
					
						
							
							
								Mitar 
							
						 
					 
					
						
						
							
						
						ebf7056f4a 
					 
					
						
						
							
							Test for testing invalid dict field value.  
						
						
						
						
					 
					
						2013-10-06 02:55:02 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						1145c72b01 
					 
					
						
						
							
							Merge pull request  #462  from bool-dev/master  
						
						... 
						
						
						
						Fixes  #458 , DecimalField now ignores incorrect values until validate is called just like FloatField 
					
						2013-09-27 08:41:32 -07:00 
						 
				 
			
				
					
						
							
							
								Stefan Wojcik 
							
						 
					 
					
						
						
							
						
						89785da1c5 
					 
					
						
						
							
							fix validation for a nested DictField  
						
						
						
						
					 
					
						2013-09-16 23:50:13 -07:00 
						 
				 
			
				
					
						
							
							
								bool.dev 
							
						 
					 
					
						
						
							
						
						168ecd67b0 
					 
					
						
						
							
							Fixes   #458 , DecimalField now ignores incorrect values until validate is called,  
						
						... 
						
						
						
						just like FloatField. 
						
						
					 
					
						2013-09-06 22:05:31 +05:30 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						d07a9d2ef8 
					 
					
						
						
							
							Dynamic Fields store and recompose Embedded Documents / Documents correctly ( #449 )  
						
						
						
						
					 
					
						2013-08-20 08:30:20 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						d8ffa843a9 
					 
					
						
						
							
							Added str representation of GridFSProxy ( #424 )  
						
						
						
						
					 
					
						2013-07-31 09:29:41 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						d9f538170b 
					 
					
						
						
							
							Added get_proxy_object helper to filefields ( #391 )  
						
						
						
						
					 
					
						2013-07-10 21:19:11 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						4209d61b13 
					 
					
						
						
							
							Document.select_related() now respects db_alias ( #377 )  
						
						
						
						
					 
					
						2013-07-10 12:49:19 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						7cb46d0761 
					 
					
						
						
							
							Fixed ListField setslice and delslice dirty tracking ( #390 )  
						
						
						
						
					 
					
						2013-07-10 09:11:50 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						ad15781d8f 
					 
					
						
						
							
							Fixed amibiguity and differing behaviour regarding field defaults ( #349 )  
						
						... 
						
						
						
						Now field defaults are king, unsetting or setting to None on a field
with a default means the default is reapplied. 
						
						
					 
					
						2013-06-06 13:31:52 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						ea53612822 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/pr/349' into 349  
						
						
						
						
					 
					
						2013-06-06 12:06:23 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						e5648a4af9 
					 
					
						
						
							
							ImageFields now include PIL error messages if invalid error ( #353 )  
						
						
						
						
					 
					
						2013-06-05 11:45:08 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						d94a191656 
					 
					
						
						
							
							Updated Changelog added test for  #341  
						
						
						
						
					 
					
						2013-06-04 10:20:24 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						3b60adc8da 
					 
					
						
						
							
							Merge pull request  #344  from matchbox/complex-change-tracking  
						
						... 
						
						
						
						Remove custom change tracking for ComplexBaseFields just use BaseField's one 
						
						
					 
					
						2013-06-04 02:54:59 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						5447c6e947 
					 
					
						
						
							
							DateTimeField now auto converts valid datetime isostrings into dates ( #343 )  
						
						
						
						
					 
					
						2013-06-04 09:08:13 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						f1b97fbc8b 
					 
					
						
						
							
							Merge pull request  #343  from matchbox/dateutil  
						
						... 
						
						
						
						if `dateutil` is available, use it to parse datetimes 
						
						
					 
					
						2013-06-04 01:22:31 -07:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						ceece5a7e2 
					 
					
						
						
							
							Improved PIL detection for tests  
						
						
						
						
					 
					
						2013-06-03 13:38:58 +00:00 
						 
				 
			
				
					
						
							
							
								Nigel McNie 
							
						 
					 
					
						
						
							
						
						4c9e90732e 
					 
					
						
						
							
							Apply defaults to fields with None value at 'set' time.  
						
						... 
						
						
						
						If a field has a default, and you explicitly set it to None, the
behaviour before this patch was very confusing:
    class Person(Document):
        created = DateTimeField(default=datetime.datetime.utcnow)
    >>> p = Person(created=None)
    >>> p.created
    datetime.datetime(2013, 5, 30, 0, 18, 20, 242628)
    >>> p.created
    datetime.datetime(2013, 5, 30, 0, 18, 20, 995248)
    >>> p.created
    datetime.datetime(2013, 5, 30, 0, 18, 21, 370578)
It would be stored as None, and then at 'get' time, the default would be
applied. As you can see, if the default is a generator, this leads to some
crazy behaviour.
There's an argument that if I asked it to be set to None, why not respect that?
But I don't think that's how the rest of mongoengine seems to work (for
example, setting a field to None seems to mean it doesn't even get set in mongo
- as opposed to being set but with a 'null' value). Besides, as the code shows
above, you'd expect p.created to return None. So clearly, mongoengine is
already expecting None to mean 'default' where a default is available.
This bug also interacts nastily with required=True - if you're forcibly setting
the field to None, then at validation time, the None will fail validation
despite a perfectly valid default being available.
With this patch, when the field is set, the default is immediately applied.
This means any generation happens once, the getter always returns the same
value, and 'required' validation always respects the default.
Note: this breakage seems to be new since mongoengine 0.8. 
						
						
					 
					
						2013-05-30 16:37:40 +12:00 
						 
				 
			
				
					
						
							
							
								Paul Swartz 
							
						 
					 
					
						
						
							
						
						c0571beec8 
					 
					
						
						
							
							fix change tracking for ComplexBaseFields  
						
						
						
						
					 
					
						2013-05-28 17:19:46 -04:00 
						 
				 
			
				
					
						
							
							
								Paul Swartz 
							
						 
					 
					
						
						
							
						
						1302316eb0 
					 
					
						
						
							
							add some tests  
						
						
						
						
					 
					
						2013-05-28 16:08:33 -04:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						c5ce96c391 
					 
					
						
						
							
							Fix py3 test  
						
						
						
						
					 
					
						2013-05-23 19:44:05 +00:00 
						 
				 
			
				
					
						
							
							
								Ross Lawley 
							
						 
					 
					
						
						
							
						
						1eb6436682 
					 
					
						
						
							
							Added get image by grid_id example  
						
						
						
						
					 
					
						2013-05-22 10:29:45 +00:00 
						 
				 
			
				
					
						
							
							
								Wilson Júnior 
							
						 
					 
					
						
						
							
						
						bc92f78afb 
					 
					
						
						
							
							fixes for value_decorator  
						
						
						
						
					 
					
						2013-05-16 13:12:49 -03:00 
						 
				 
			
				
					
						
							
							
								Wilson Júnior 
							
						 
					 
					
						
						
							
						
						f7e22d2b8b 
					 
					
						
						
							
							fixes for get_next_value  
						
						
						
						
					 
					
						2013-05-16 13:05:07 -03:00