Commit Graph

9 Commits

Author SHA1 Message Date
Brylie Christopher Oxley e5ae9488ac Fixed #30069 -- Added docstring to manage.py template. 2018-12-31 19:37:23 -05:00
jpic 9453bc77f4 Fixed #30003 -- Added usable entry point in default manage.py. 2018-12-06 14:45:40 -05:00
Douwe Osinga 195610227d Updated project template to use single quotes where appropriate. 2018-02-20 18:52:28 -05:00
Tim Graham 784a53beef Reverted "Fixed #27878, refs #23919 -- Used python3 shebangs."
This reverts commit 4cffa9a1ff.
2017-03-07 10:10:32 -05:00
Chris Lamb 4cffa9a1ff Fixed #27878, refs #23919 -- Used python3 shebangs. 2017-02-23 13:41:10 -05:00
Tim Graham d170c63351 Refs #23919 -- Removed misc references to Python 2. 2017-01-21 20:02:00 -05:00
Tim Graham 5c6d397956 Refs #26484 -- Avoided masking useful exceptions in manage.py's ImportError. 2016-04-13 13:28:54 -04:00
Ben Welsh 724a279849 Raised a more helpful ImportError message in manage.py template. 2016-03-29 07:35:27 -04:00
Chris Lamb abc0777b63 Fixed #25968 -- Changed project/app templates to use a "py-tpl" suffix.
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.
2016-01-25 12:39:06 -05:00