We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9947917 commit 15c797cCopy full SHA for 15c797c
README.md
@@ -10,6 +10,23 @@ The development version of this package supports Django 5.0.x. To install it:
10
11
`pip install git+https://github.com/mongodb-labs/django-mongodb`
12
13
+### Via templates
14
+
15
+To create a new Django project that uses MongoDB, you can use the templates in this repository. For example:
16
17
+```console
18
+$ django-admin startproject --template=project_template mysite
19
+$ django-admin startapp --template=app_template polls
20
+```
21
22
+Then
23
24
+$ python manage.py makemigrations admin auth contenttypes
25
+$ python manage.py migrate
26
27
28
+### Manual steps
29
30
Configure the Django `DATABASES` setting similar to this:
31
32
```python
0 commit comments