Commit Graph

3 Commits

Author SHA1 Message Date
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