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

package info (click to toggle)
python-django-extensions 1.7.4-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,016 kB
  • ctags: 1,342
  • sloc: python: 8,873; makefile: 117
file content (24 lines) | stat: -rw-r--r-- 1,175 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
From 9c9b80a1e42105f3ffaabaf337a459e6a802ddee Mon Sep 17 00:00:00 2001
From: Brian May <bam@debian.org>
Date: Sun, 6 Nov 2016 09:51:19 +1100
Subject: Update reference to python-werzeug package

Point people towards installing the python-werzeug package, not to
download random files from the internet.
---
 django_extensions/management/commands/runserver_plus.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/django_extensions/management/commands/runserver_plus.py b/django_extensions/management/commands/runserver_plus.py
index 50ef6d7..4d4b58e 100644
--- a/django_extensions/management/commands/runserver_plus.py
+++ b/django_extensions/management/commands/runserver_plus.py
@@ -231,7 +231,7 @@ class Command(BaseCommand):
                     pass
 
         except ImportError:
-            raise CommandError("Werkzeug is required to use runserver_plus.  Please visit http://werkzeug.pocoo.org/ or install via pip. (pip install Werkzeug)")
+            raise CommandError("Werkzeug is required to use runserver_plus.  Please install `python-werkzeug'")
 
         class WSGIRequestHandler(_WSGIRequestHandler):
             def make_environ(self):