Changes between Initial Version and Version 1 of Ticket #28190


Ignore:
Timestamp:
May 11, 2017, 9:06:31 AM (7 years ago)
Author:
Tim Graham
Comment:

As I said on the PR, I'm not sure if "absolute path" is good terminology to use, considering that the given path is usually relative to the directory specified by a template loader, however, some clarifications could be made.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28190

    • Property Component UncategorizedDocumentation
    • Property Has patch set
    • Property Patch needs improvement set
    • Property Triage Stage UnreviewedAccepted
    • Property Summary Re-iterate the point about absolute/relative paths in the 'include' templatetag exampleClarify absolute/relative paths in the extends/include template tag docs
    • Property Type UncategorizedCleanup/optimization
  • Ticket #28190 – Description

    initial v1  
    11Minor point but I feel it is worth re-iterating that the example ([https://docs.djangoproject.com/en/1.11/ref/templates/builtins/#include]) is using an absolute path and folks should prefix "./" if the template being referenced is in the same directory as the template that is referencing it.
    22
    3 Github issue : https://github.com/django/django/pull/8483
    4 
    5 (Apologies in advance if I made any formatting errors)
     3[https://github.com/django/django/pull/8483 PR]
Back to Top