Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion snooty.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ mdb-server = "MongoDB Server"
django-version = "5.0"
django-docs = "https://docs.djangoproject.com/en/{+django-version+}"
framework = "Django"
pymongo-version = "4.10"
pymongo-version = "4.11"
pymongo-docs = "https://www.mongodb.com/docs/languages/python/pymongo-driver/current"
7 changes: 5 additions & 2 deletions source/get-started/install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,15 @@ in your development environment.

.. code-block:: bash

pip install django-mongodb-backend
pip install django-mongodb-backend=={+django-version+}.0<patch-version>

Replace the <patch-version> placeholder with the patch version you want
to install (``a1``, ``a2``, ``a3``, or ``b0``).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you need to provide this level of specificity, then it's best to do it like this.

Suggested change
pip install django-mongodb-backend=={+django-version+}.0<patch-version>
Replace the <patch-version> placeholder with the patch version you want
to install (``a1``, ``a2``, ``a3``, or ``b0``).
pip install --pre "django-mongodb-backend=={+django-version+}.*"


This command also installs the following dependencies:

- PyMongo version {+pymongo-version+} and its dependencies
- Latest {+framework+} {+django-version+}.x version and its dependencies
- {+framework+} version {+django-version+}.x and its dependencies

After you complete these steps, you have {+django-odm+} and its
dependencies installed in your development environment.
Loading