Documentation api and reference cleanups
This commit is contained in:
		| @@ -7,7 +7,7 @@ GridFS | ||||
| Writing | ||||
| ------- | ||||
|  | ||||
| GridFS support comes in the form of the :class:`~mongoengine.FileField` field | ||||
| GridFS support comes in the form of the :class:`~mongoengine.fields.FileField` field | ||||
| object. This field acts as a file-like object and provides a couple of | ||||
| different ways of inserting and retrieving data. Arbitrary metadata such as | ||||
| content type can also be stored alongside the files. In the following example, | ||||
| @@ -27,7 +27,7 @@ a document is created to store details about animals, including a photo:: | ||||
| Retrieval | ||||
| --------- | ||||
|  | ||||
| So using the :class:`~mongoengine.FileField` is just like using any other | ||||
| So using the :class:`~mongoengine.fields.FileField` is just like using any other | ||||
| field. The file can also be retrieved just as easily:: | ||||
|  | ||||
|     marmot = Animal.objects(genus='Marmota').first() | ||||
| @@ -37,7 +37,7 @@ field. The file can also be retrieved just as easily:: | ||||
| Streaming | ||||
| --------- | ||||
|  | ||||
| Streaming data into a :class:`~mongoengine.FileField` is achieved in a | ||||
| Streaming data into a :class:`~mongoengine.fields.FileField` is achieved in a | ||||
| slightly different manner.  First, a new file must be created by calling the | ||||
| :func:`new_file` method. Data can then be written using :func:`write`:: | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user