Skip to content

Version 5.0 edits #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 31, 2025
Merged
Show file tree
Hide file tree
Changes from 3 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

@Jibola Jibola Jan 31, 2025

Choose a reason for hiding this comment

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

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 installs the latest compatible of our library for {+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