File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Django MongoDB Project Template
2
+
3
+ This is the starter template for the Django-MongoDB Backend. In order to use, with your version of ` django-mongodb-backend ` and ` django ` :
4
+
5
+ * Find your Django version. To do so from the command line, make sure you have django installed and type:
6
+
7
+ ``` bash
8
+ django-admin --version
9
+ >> 5.0
10
+ ```
11
+
12
+
13
+ ## Create the Django Project
14
+ From your shell, run the following command to create a new Django project replacing the ` {{ project_name }} ` and ` {{ version }} ` sections.
15
+
16
+ ``` bash
17
+ django-admin startproject {{ project_name }} --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/{{ version }}.x.zip
18
+ ```
19
+
20
+ Below is an example:
21
+
22
+ For a project name ` 5_0_exmaple ` that runs on ` django==5.0.* ` :
23
+
24
+ ``` bash
25
+ django-admin startproject 5_0_example --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/5.0.x.zip
26
+ ```
You can’t perform that action at this time.
0 commit comments