summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/custom_templates/project_template
AgeCommit message (Collapse)Author
2022-10-20Fixed #34085 -- Made management commands don't use black for non-Python files.Carlton Gibson
Bug in d113b5a837f726d1c638d76c4e88445e6cd59fd5. Co-authored-by: programmylife <acmshar@gmail.com> Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-02-11Refs #33476 -- Made management commands use black.Carlton Gibson
Run black on generated files, if it is available on PATH.
2021-09-01Refs #32309 -- Added test for excluding hidden directories in startproject ↵sage
command.
2016-01-25Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.Chris Lamb
Debian packages unconditionally byte-compile .py files on installation and do not silence errors by design. Therefore, we need a way of shipping these invalid .py files without a .py extension but ensuring that when we template them, they end up as .py. We don't special-case .py files so that the all the TemplateCommand command-line options (eg. extra_files and extensions) still work entirely as expected and it may even be useful for other formats too.
2014-05-27Fixed #22699 -- Configure default settings in some management commands.Aymeric Augustin
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.
2013-10-10Whitespace cleanup.Tim Graham
* Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs.
2013-02-26Merged regressiontests and modeltests into the test root.Florian Apolloner