Skip to content

Commit 6f46a1c

Browse files
committed
django_mongodb_backend
1 parent 6bd451d commit 6f46a1c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

source/django-get-started/django-connect-mongodb.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ you can create a Django project that connects to MongoDB.
6565

6666
DATABASES = {
6767
"default": {
68-
"ENGINE": "django_mongodb",
68+
"ENGINE": "django_mongodb_backend",
6969
"NAME": "sample_mflix",
7070
"USER": "<username>",
7171
"PASSWORD": "<password>",

source/django-get-started/django-create-app.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To learn more about the ``sample_mflix`` database, see :atlas:`Sample Mflix Data
3636
.. note:: App Template
3737

3838
The ``django-mongodb-app`` template ensures that your ``app.py`` file
39-
includes the line ``"default_auto_field = 'django_mongodb.fields.ObjectIdAutoField'"``.
39+
includes the line ``"default_auto_field = 'django_mongodb_backend.fields.ObjectIdAutoField'"``.
4040

4141
.. step:: Create models for movie, awards, and viewer data
4242

@@ -46,7 +46,7 @@ To learn more about the ``sample_mflix`` database, see :atlas:`Sample Mflix Data
4646
.. code-block:: python
4747

4848
from django.db import models
49-
from django_mongodb.fields import EmbeddedModelField, ArrayField
49+
from django_mongodb_backend.fields import EmbeddedModelField, ArrayField
5050

5151
class Movie(models.Model):
5252
title = models.CharField(max_length=200)

source/django-get-started/django-install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ in your development environment.
6161

6262
.. code-block:: bash
6363

64-
pip install git+https://github.com/mongodb-labs/django-mongodb
64+
pip install git+https://github.com/mongodb-labs/django-mongodb-backend
6565

6666
This command also installs the following dependencies:
6767

0 commit comments

Comments
 (0)