Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ In order to use it with your version of Django:

```bash
django-admin --version
>> 5.1
>> 5.2
```

## Create the Django project
Expand All @@ -20,9 +20,9 @@ replacing the `{{ project_name }}` and `{{ version }}` sections.
django-admin startproject {{ project_name }} --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/{{ version }}.x.zip
```

For a project named `5_1_example` that runs on `django==5.1.*`
For a project named `5_2_example` that runs on `django==5.2.*`
the command would look like this:

```bash
django-admin startproject 5_1_example --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/5.1.x.zip
django-admin startproject 5_2_example --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/5.2.x.zip
```
1 change: 0 additions & 1 deletion project_name/settings.py-tpl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ TEMPLATES = [
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
Expand Down