Add return info in the save function docstring
This commit is contained in:
		
							
								
								
									
										1
									
								
								AUTHORS
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								AUTHORS
									
									
									
									
									
								
							| @@ -255,3 +255,4 @@ that much better: | |||||||
|  * Filip Kucharczyk (https://github.com/Pacu2) |  * Filip Kucharczyk (https://github.com/Pacu2) | ||||||
|  * Eric Timmons (https://github.com/daewok) |  * Eric Timmons (https://github.com/daewok) | ||||||
|  * Matthew Simpson (https://github.com/mcsimps2) |  * Matthew Simpson (https://github.com/mcsimps2) | ||||||
|  |  * Leonardo Domingues (https://github.com/leodmgs) | ||||||
|   | |||||||
| @@ -332,7 +332,7 @@ class Document(six.with_metaclass(TopLevelDocumentMetaclass, BaseDocument)): | |||||||
|     ): |     ): | ||||||
|         """Save the :class:`~mongoengine.Document` to the database. If the |         """Save the :class:`~mongoengine.Document` to the database. If the | ||||||
|         document already exists, it will be updated, otherwise it will be |         document already exists, it will be updated, otherwise it will be | ||||||
|         created. |         created. Returns the saved object instance. | ||||||
|  |  | ||||||
|         :param force_insert: only try to create a new document, don't allow |         :param force_insert: only try to create a new document, don't allow | ||||||
|             updates of existing documents. |             updates of existing documents. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user