Opened 7 years ago

Last modified 7 years ago

#28190 closed Cleanup/optimization

Re-iterate the point about absolute/relative paths in the 'include' templatetag example — at Initial Version

Reported by: Anupam Owned by: nobody
Component: Documentation Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Minor 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.

Github issue : https://github.com/django/django/pull/8483

(Apologies in advance if I made any formatting errors)

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top