[Django] #34343: Move more templates to filesystem

3 views
Skip to first unread message

Django

unread,
Feb 16, 2023, 3:13:39 PM2/16/23
to django-...@googlegroups.com
#34343: Move more templates to filesystem
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: assigned
Cleanup/optimization |
Component: | Version: dev
Uncategorized | Keywords: templates,
Severity: Normal | filesystem
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
In #28007 debug templates were moved to be loaded from the filesystem.

It would also be cleaner to move the following larger templates out of
Python code:

- `django.views.csrf.CSRF_FAILURE_TEMPLATE`
- `django.views.i18n.js_catalog_template`
- `django.views.static.DEFAULT_DIRECTORY_INDEX_TEMPLATE`

--
Ticket URL: <https://code.djangoproject.com/ticket/34343>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 16, 2023, 3:17:18 PM2/16/23
to django-...@googlegroups.com
#34343: Move more templates to filesystem
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: assigned
Cleanup/optimization |
Component: Uncategorized | Version: dev
Severity: Normal | Resolution:
Keywords: templates, | Triage Stage:
filesystem | Unreviewed
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Nick Pope):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/16562 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/34343#comment:1>

Django

unread,
Feb 16, 2023, 5:05:56 PM2/16/23
to django-...@googlegroups.com
#34343: Move more templates to filesystem
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: assigned
Cleanup/optimization |
Component: Uncategorized | Version: dev
Severity: Normal | Resolution:
Keywords: templates, | Triage Stage: Accepted
filesystem |

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Claude Paroz):

* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/34343#comment:2>

Django

unread,
Feb 17, 2023, 3:03:25 AM2/17/23
to django-...@googlegroups.com
#34343: Move more templates to filesystem
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: assigned
Cleanup/optimization |
Component: Uncategorized | Version: dev
Severity: Normal | Resolution:
Keywords: templates, | Triage Stage: Ready for
filesystem | checkin

Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/34343#comment:3>

Django

unread,
Feb 17, 2023, 4:43:33 AM2/17/23
to django-...@googlegroups.com
#34343: Move more templates to filesystem
-------------------------------------+-------------------------------------
Reporter: Nick Pope | Owner: Nick Pope
Type: | Status: closed

Cleanup/optimization |
Component: Uncategorized | Version: dev
Severity: Normal | Resolution: fixed

Keywords: templates, | Triage Stage: Ready for
filesystem | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"8eef22dfed2d53df0da10c0090d9cb04f66efb15" 8eef22d]:
{{{
#!CommitTicketReference repository=""
revision="8eef22dfed2d53df0da10c0090d9cb04f66efb15"
Fixed #34343 -- Moved built-in templates to filesystem.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/34343#comment:4>

Reply all
Reply to author
Forward
0 new messages