@@ -24,30 +24,33 @@ In this guide, you can learn how to use {+django-odm+} to run
2424create, read, update, and delete (CRUD) operations on your MongoDB
2525collection.
2626
27+ You can also use the {+framework+} admin site to edit your models
28+ and their corresponding collections on a web interface. For
29+ more information, see the `Django Admin Site <https://docs.djangoproject.com/en/5.1/ref/contrib/admin/>`__
30+ entry in the {+framework+} documentation.
31+
32+ Query API
33+ ~~~~~~~~~
34+
2735You can use methods provided by the {+framework+} ``QuerySet`` API to run
2836CRUD operations. To run these operations, you can call ``QuerySet`` methods
2937on your model's manager. The ``Manager`` class handles database
3038operations and allows you to interact with your MongoDB data by referencing
3139Django models. By default, {+framework+} adds a ``Manager`` named ``objects``
3240to every model class.
3341
34- This guide shows how to use the following ``QuerySet`` methods:
35-
36- - :ref:`create() <django-crud-insert>`: Inserts documents into the collection
37- - :ref:`filter() and get() <django-crud-read>`: Retrieves one or multiple collection documents
38- - :ref:`update() <django-crud-modify>`: Modifies collection documents
39- - :ref:`delete() <django-crud-delete>`: Deletes collection documents
40-
4142.. tip::
4243
4344 To learn more about {+framework+}'s ``QuerySet`` API, see the
4445 `QuerySet API reference <https://docs.djangoproject.com/en/5.1/ref/models/querysets/>`__
4546 in the {+framework+} documentation.
4647
47- You can also use the {+framework+} admin site to edit your models
48- and their corresponding collections on a web interface. For
49- more information, see the `Django Admin Site <https://docs.djangoproject.com/en/5.1/ref/contrib/admin/>`__
50- entry in the {+framework+} documentation.
48+ This guide shows how to use the following ``QuerySet`` methods:
49+
50+ - :ref:`create() <django-crud-insert>`: Inserts documents into the collection
51+ - :ref:`filter() and get() <django-crud-read>`: Retrieves one or multiple collection documents
52+ - :ref:`update() <django-crud-modify>`: Modifies collection documents
53+ - :ref:`delete() <django-crud-delete>`: Deletes collection documents
5154
5255Sample Data
5356~~~~~~~~~~~
0 commit comments