summaryrefslogtreecommitdiff
path: root/django/conf/app_template/apps.py-tpl
AgeCommit message (Collapse)Author
2025-09-05Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField.Tim Graham
2020-12-15Fixed #31007 -- Allowed specifying type of auto-created primary keys.Tom Forbes
This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField.
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
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.