diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-05-27 18:57:53 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2014-05-27 21:46:30 +0200 |
| commit | 430faebe3baa3daecc0ea083c1259c2b43b0557f (patch) | |
| tree | 885894a080f76222cfc5cfded77f141dcfa38607 /tests/admin_scripts/custom_templates/project_template/additional_dir | |
| parent | c0a56001e0e5c35615842f4ed223b7baeb234730 (diff) | |
[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.
Diffstat (limited to 'tests/admin_scripts/custom_templates/project_template/additional_dir')
| -rw-r--r-- | tests/admin_scripts/custom_templates/project_template/additional_dir/localized.py | 2 |
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" %} |
