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

package info (click to toggle)
python-django 3%3A4.2.23-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 58,592 kB
  • sloc: python: 334,729; javascript: 18,754; xml: 215; makefile: 178; sh: 27
file content (18 lines) | stat: -rw-r--r-- 632 bytes parent folder | download | duplicates (6)
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