Opened 14 years ago
Closed 14 years ago
#17517 closed Bug (fixed)
Project/app layout template file extensions
| Reported by: | Timothée Peignier | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | 1.4-alpha-1 |
| Severity: | Normal | Keywords: | |
| Cc: | florian+django@… | Triage Stage: | Accepted |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Projet or app layout only accept file with an extension as a candidate for template rendering (like .md or .txt).
It's problematic when you want a file named Procfile (or else) to be used as a template.
Attachments (2)
Change History (5)
comment:1 by , 14 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|---|
| Type: | Uncategorized → Bug |
by , 14 years ago
| Attachment: | 17517.diff added |
|---|
comment:2 by , 14 years ago
| Cc: | added |
|---|
Note:
See TracTickets
for help on using tickets.
Yeah, this seems like an unfortunate limitation, I talked with Carl on IRC and found it best to add an option to the management command to specify additional files to be considered for template rendering.