#16793 closed Cleanup/optimization (fixed)
consolidate and/or cross reference documentation on {% load %} template tag
Reported by: | Tobias McNulty | Owned by: | Nick Meharry |
---|---|---|---|
Component: | Documentation | Version: | 1.3 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
The {% load %}
template tag is documented in at least 3 places, and 2 of them do not mention the {% load foo from bar %}
syntax that was introduced in 1.3. This documentation can probably be consolidated (and/or spruced up with cross links) to make the from
syntax easier to find.
The 3 locations are:
https://docs.djangoproject.com/en/dev/topics/templates/#custom-tag-and-filter-libraries
https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#code-layout
https://docs.djangoproject.com/en/dev/ref/templates/builtins/#load
Attachments (1)
Change History (5)
comment:1 by , 13 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 13 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 13 years ago
Attachment: | load_tag_linking.diff added |
---|
comment:3 by , 13 years ago
Has patch: | set |
---|
Agreed on the linking. I don't think any de-duplication is necessary since they're all discussing different topics. For the three docs as listed:
That should take care of it.