Skip to content

Commit 9d648d8

Browse files
authored
Update readme + settings for Django 5.2.x (#14)
1 parent b659da8 commit 9d648d8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ In order to use it with your version of Django:
88

99
```bash
1010
django-admin --version
11-
>> 5.1
11+
>> 5.2
1212
```
1313

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

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

2626
```bash
27-
django-admin startproject 5_1_example --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/5.1.x.zip
27+
django-admin startproject 5_2_example --template https://github.com/mongodb-labs/django-mongodb-project/archive/refs/heads/5.2.x.zip
2828
```

project_name/settings.py-tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ TEMPLATES = [
6060
'APP_DIRS': True,
6161
'OPTIONS': {
6262
'context_processors': [
63-
'django.template.context_processors.debug',
6463
'django.template.context_processors.request',
6564
'django.contrib.auth.context_processors.auth',
6665
'django.contrib.messages.context_processors.messages',

0 commit comments

Comments
 (0)