summaryrefslogtreecommitdiff
path: root/tests/admin_scripts
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2014-05-27 18:57:53 +0200
committerAymeric Augustin <aymeric.augustin@m4x.org>2014-05-27 21:43:52 +0200
commit4865326f2200aa1c480526feef5428cf780ab3c6 (patch)
treee0815ea2b1bd6ced601dd9155b1975a91746c60e /tests/admin_scripts
parent2e613ea5c52d4d12e071987178af18c0371d6e2f (diff)
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.
Diffstat (limited to 'tests/admin_scripts')
-rw-r--r--tests/admin_scripts/custom_templates/project_template/additional_dir/localized.py2
1 files changed, 2 insertions, 0 deletions
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" %}