Skip to content

Commit db2ed44

Browse files
committed
fixes
1 parent 22b96f1 commit db2ed44

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

source/model-data/models.txt

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ Supported Field Types
3838
---------------------
3939

4040
This section describes {+django-odm+}'s support for
41-
the following field types:
41+
the following field types, which you can include in
42+
your models:
4243

4344
- :ref:`django-models-django-fields`
4445
- :ref:`django-models-mongodb-fields`
@@ -61,7 +62,7 @@ that {+django-odm+} supports:
6162
* - ``AutoField``
6263
- | Stores ``IntegerField`` values that automatically increment according to
6364
available ID values. If you don't explicitly specify this field,
64-
MongoDB automatically assigns an ``ObjectId`` primary key value.
65+
{+django-odm+} automatically assigns an ``ObjectId`` primary key value.
6566

6667
* - ``BigAutoField``
6768
- | Stores ``AutoField`` values up to 64 bits in size.
@@ -108,7 +109,7 @@ that {+django-odm+} supports:
108109
- | Stores float values.
109110

110111
* - ``GenericIPAddressField``
111-
- | Stores an Pv4 or IPv6 address in string format.
112+
- | Stores an IPv4 or IPv6 address in string format.
112113

113114
* - ``IntegerField``
114115
- | Stores integer values.
@@ -147,7 +148,7 @@ MongoDB BSON Fields
147148
~~~~~~~~~~~~~~~~~~~
148149

149150
MongoDB organizes and stores documents in a binary representation
150-
called ``BSON`` that allows for flexible data processing.
151+
called BSON that allows for flexible data processing.
151152

152153
.. tip::
153154

@@ -163,7 +164,7 @@ The following table describes supported BSON field types and their
163164
:widths: 20 20 60
164165

165166
* - BSON Field Type
166-
- Django Field Type
167+
- {+django-odm+} Field Type
167168
- BSON Description
168169

169170
* - ``Array``
@@ -262,7 +263,7 @@ models or use existing collections to store model data:
262263
.. _django-models-define-ex:
263264

264265
Example
265-
```````
266+
~~~~~~~
266267

267268
This sample ``models.py`` file defines a ``Movie`` model
268269
class that includes the following information:
@@ -330,7 +331,7 @@ stores this data in BSON, or Binary JSON, format.
330331

331332
- Some queries that use ``Q`` objects might not return the expected results.
332333

333-
- When querying for field that have a ``None`` value, {+django-odm+} incorrectly
334+
- When querying for fields that have a ``None`` value, {+django-odm+} incorrectly
334335
returns documents in which the field doesn't exist.
335336

336337
Example

0 commit comments

Comments
 (0)