From 195610227dab298e2d9321611f1e18ab1ce7a607 Mon Sep 17 00:00:00 2001 From: Douwe Osinga Date: Tue, 20 Feb 2018 18:52:28 -0500 Subject: [PATCH] Updated project template to use single quotes where appropriate. --- django/conf/project_template/manage.py-tpl | 4 ++-- django/conf/project_template/project_name/wsgi.py-tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/django/conf/project_template/manage.py-tpl b/django/conf/project_template/manage.py-tpl index 9f83e65491..48c9190f03 100755 --- a/django/conf/project_template/manage.py-tpl +++ b/django/conf/project_template/manage.py-tpl @@ -2,8 +2,8 @@ import os import sys -if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings") +if __name__ == '__main__': + os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{{ project_name }}.settings') try: from django.core.management import execute_from_command_line except ImportError as exc: diff --git a/django/conf/project_template/project_name/wsgi.py-tpl b/django/conf/project_template/project_name/wsgi.py-tpl index 0d68b95645..1ee28d0e8c 100644 --- a/django/conf/project_template/project_name/wsgi.py-tpl +++ b/django/conf/project_template/project_name/wsgi.py-tpl @@ -11,6 +11,6 @@ import os from django.core.wsgi import get_wsgi_application -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "{{ project_name }}.settings") +os.environ.setdefault('DJANGO_SETTINGS_MODULE', '{{ project_name }}.settings') application = get_wsgi_application()