diff --git a/django/bin/django-admin.py b/django/bin/django-admin.py index 53c32d6573..f518cdc463 100755 --- a/django/bin/django-admin.py +++ b/django/bin/django-admin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python from django.core import management if __name__ == "__main__": diff --git a/django/conf/project_template/manage.py-tpl b/django/conf/project_template/manage.py-tpl index 39df575158..9f83e65491 100755 --- a/django/conf/project_template/manage.py-tpl +++ b/django/conf/project_template/manage.py-tpl @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import os import sys diff --git a/django/contrib/admin/bin/compress.py b/django/contrib/admin/bin/compress.py index 2572b2f4f4..dbef84d759 100644 --- a/django/contrib/admin/bin/compress.py +++ b/django/contrib/admin/bin/compress.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import argparse import os import subprocess diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 6bc6b02c5e..192a62c516 100644 --- a/docs/topics/testing/advanced.txt +++ b/docs/topics/testing/advanced.txt @@ -333,7 +333,7 @@ Let's take a look inside a couple of those files: .. snippet:: :filename: runtests.py - #!/usr/bin/env python3 + #!/usr/bin/env python import os import sys diff --git a/scripts/manage_translations.py b/scripts/manage_translations.py index 9b11f33be2..74534d47da 100644 --- a/scripts/manage_translations.py +++ b/scripts/manage_translations.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python # # This python file contains utility scripts to manage Django translations. # It has to be run inside the django git root directory. diff --git a/tests/i18n/sampleproject/manage.py b/tests/i18n/sampleproject/manage.py index 6f1708a5b3..87a0ec369a 100755 --- a/tests/i18n/sampleproject/manage.py +++ b/tests/i18n/sampleproject/manage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import os import sys diff --git a/tests/i18n/sampleproject/update_catalogs.py b/tests/i18n/sampleproject/update_catalogs.py index 368a160b4e..131d3e268b 100755 --- a/tests/i18n/sampleproject/update_catalogs.py +++ b/tests/i18n/sampleproject/update_catalogs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python """ Helper script to update sampleproject's translation catalogs. diff --git a/tests/runtests.py b/tests/runtests.py index 6ffd9ea68f..4cb36049fd 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import argparse import atexit import copy