File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,23 @@ And whenever you run `python manage.py startapp`, you must remove the line:
9191
9292from the new application's ` apps.py ` file.
9393
94+ ### Templates for ` startproject ` and ` startapp `
95+
96+ To automate the process of creating a new Django project or app that uses django-mongodb as described above,
97+ you can use the following templates:
98+
99+ #### ` startproject ` template
100+
101+ ``` bash
102+ $ django-admin startproject my_site --template https://github.com/aclark4life/django-mongodb-project/archive/refs/heads/5.0.x.zip
103+ ```
104+
105+ #### ` startapp ` template
106+
107+ ``` bash
108+ $ django-admin startapp polls --template https://github.com/aclark4life/django-mongodb-app/archive/refs/heads/5.0.x.zip
109+ ```
110+
94111## Notes on Django QuerySets
95112
96113* ` QuerySet.explain() ` supports the [ ` comment ` and ` verbosity ` options] (
You can’t perform that action at this time.
0 commit comments