[BACK]Return to patch-tests_app_settings.py CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / www / py-wagtailnews / patches

File: [cvs.NetBSD.org] / pkgsrc / www / py-wagtailnews / patches / Attic / patch-tests_app_settings.py (download)

Revision 1.1, Thu Aug 20 11:19:18 2020 UTC (3 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3

Add py-wagtailnews-2.7.1:

A plugin for Wagtail that provides news / blogging functionality.

$NetBSD: patch-tests_app_settings.py,v 1.1 2020/08/20 11:19:18 joerg Exp $

aefb23c2eaeb64ff9313fba8893fdb9d516219cd

--- tests/app/settings.py.orig	2020-08-19 23:58:44.261039842 +0000
+++ tests/app/settings.py
@@ -29,6 +29,7 @@ INSTALLED_APPS = [
     'django.contrib.admin',
     'django.contrib.auth',
     'django.contrib.contenttypes',
+    'django.contrib.messages',
     'django.contrib.sessions',
     'django.contrib.staticfiles',
 ]
@@ -60,8 +61,6 @@ MIDDLEWARE = [
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
     'django.middleware.clickjacking.XFrameOptionsMiddleware',
-
-    'wagtail.core.middleware.SiteMiddleware',
 ]
 
 TEMPLATES = [