diff --git a/django/bin/django-admin.py b/django/bin/django-admin.py index f518cdc463..53c32d6573 100755 --- a/django/bin/django-admin.py +++ b/django/bin/django-admin.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 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 9f83e65491..39df575158 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 import os import sys diff --git a/django/contrib/admin/bin/compress.py b/django/contrib/admin/bin/compress.py index dbef84d759..2572b2f4f4 100644 --- a/django/contrib/admin/bin/compress.py +++ b/django/contrib/admin/bin/compress.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import argparse import os import subprocess diff --git a/docs/topics/testing/advanced.txt b/docs/topics/testing/advanced.txt index 192a62c516..6bc6b02c5e 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 python + #!/usr/bin/env python3 import os import sys diff --git a/scripts/manage_translations.py b/scripts/manage_translations.py index 74534d47da..9b11f33be2 100644 --- a/scripts/manage_translations.py +++ b/scripts/manage_translations.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # # 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 87a0ec369a..6f1708a5b3 100755 --- a/tests/i18n/sampleproject/manage.py +++ b/tests/i18n/sampleproject/manage.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import os import sys diff --git a/tests/i18n/sampleproject/update_catalogs.py b/tests/i18n/sampleproject/update_catalogs.py index 131d3e268b..368a160b4e 100755 --- a/tests/i18n/sampleproject/update_catalogs.py +++ b/tests/i18n/sampleproject/update_catalogs.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 """ Helper script to update sampleproject's translation catalogs. diff --git a/tests/runtests.py b/tests/runtests.py index 4cb36049fd..6ffd9ea68f 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 import argparse import atexit import copy