File: 0004-Set-the-default-shebang-to-new-projects-to-use-Pytho.patch

package info (click to toggle)
python-django 3%3A5.2.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 61,236 kB
  • sloc: python: 361,585; javascript: 19,250; xml: 211; makefile: 182; sh: 28
file content (18 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
From: Chris Lamb <lamby@debian.org>
Date: Sun, 24 Sep 2017 22:36:30 +0100
Subject: Set the default shebang to new projects to use Python 3.

---
 django/conf/project_template/manage.py-tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/django/conf/project_template/manage.py-tpl b/django/conf/project_template/manage.py-tpl
index a628884dc80b..50920a0df19b 100755
--- a/django/conf/project_template/manage.py-tpl
+++ b/django/conf/project_template/manage.py-tpl
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Django's command-line utility for administrative tasks."""
 import os
 import sys