File: tests-Ignore-template_partials-in-INSTALLED_APPS.patch

package info (click to toggle)
python-django-debug-toolbar 1%3A5.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,984 kB
  • sloc: python: 6,880; javascript: 631; makefile: 62; sh: 16
file content (25 lines) | stat: -rw-r--r-- 773 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Carsten Schoenert <c.schoenert@t-online.de>
Date: Fri, 2 May 2025 17:56:50 +0200
Subject: tests: Ignore template_partials in INSTALLED_APPS

Don't use the template_partials while running the tests, it's currently
not packaged.

Forwarded: not-needed
---
 tests/settings.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/settings.py b/tests/settings.py
index 12561fb..74d8980 100644
--- a/tests/settings.py
+++ b/tests/settings.py
@@ -31,7 +31,7 @@ INSTALLED_APPS = [
     # We are not actively using template-partials; we just want more nesting
     # in our template loader configuration, see
     # https://github.com/django-commons/django-debug-toolbar/issues/2109
-    "template_partials",
+    #"template_partials",
     "tests",
 ]