File: 0002-Update-reference-to-python-werkzeug-package.patch

package info (click to toggle)
python-django-extensions 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,820 kB
  • sloc: python: 18,601; javascript: 7,354; makefile: 108; xml: 17
file content (26 lines) | stat: -rw-r--r-- 1,063 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
26
From: Brian May <bam@debian.org>
Date: Sun, 6 Nov 2016 09:51:19 +1100
Subject: Update reference to python-werkzeug package

Point people towards installing the python-werkzeug package, not to
download random files from the internet.

Forwarded: not-needed
---
 django_extensions/management/commands/runserver_plus.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/django_extensions/management/commands/runserver_plus.py b/django_extensions/management/commands/runserver_plus.py
index beb1f00..4fdfc15 100644
--- a/django_extensions/management/commands/runserver_plus.py
+++ b/django_extensions/management/commands/runserver_plus.py
@@ -527,8 +527,7 @@ class Command(BaseCommand):
         if not HAS_WERKZEUG:
             raise CommandError(
                 "Werkzeug is required to use runserver_plus. "
-                "Please visit https://werkzeug.palletsprojects.com/ or install via pip."
-                " (pip install Werkzeug)"
+                "Please install `python3-werkzeug`"
             )
 
         # Set colored output