From 430faebe3baa3daecc0ea083c1259c2b43b0557f Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Tue, 27 May 2014 18:57:53 +0200 Subject: [1.7.x] Fixed #22699 -- Configure default settings in some management commands. This makes it possible to run django.setup() in management commands that don't need a settings module. In addition it simplifies error handling. Thanks Claude for the review. Backport of 4865326f from master. --- .../custom_templates/project_template/additional_dir/localized.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 tests/admin_scripts/custom_templates/project_template/additional_dir/localized.py (limited to 'tests/admin_scripts') diff --git a/tests/admin_scripts/custom_templates/project_template/additional_dir/localized.py b/tests/admin_scripts/custom_templates/project_template/additional_dir/localized.py new file mode 100644 index 0000000000..ab23cde161 --- /dev/null +++ b/tests/admin_scripts/custom_templates/project_template/additional_dir/localized.py @@ -0,0 +1,2 @@ +# Regression for #22699. +# Generated at {% now "DATE_FORMAT" %} -- cgit v1.3