From 3149ec9b04cbf26859ad464ea7c317e27eeb061e Mon Sep 17 00:00:00 2001 From: "Jeffrey A. Clark" Date: Fri, 18 Apr 2025 14:21:45 -0400 Subject: [PATCH] Update readme + settings for Django 5.2.x --- README.md | 6 +++--- project_name/settings.py-tpl | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 094c6d7..2bf5e9d 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 ``` diff --git a/project_name/settings.py-tpl b/project_name/settings.py-tpl index ecec864..f63fd7b 100644 --- a/project_name/settings.py-tpl +++ b/project_name/settings.py-tpl @@ -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',