#26402: relative path in {% extends "./../base.html" %}
-------------------------+-------------------------------------------------
     Reporter:  vb64     |      Owner:  nobody
         Type:  New      |     Status:  new
  feature                |
    Component:           |    Version:  master
  Template system        |   Keywords:  extends,include,template,relative
     Severity:  Normal   |  path
 Triage Stage:           |  Has patch:  1
  Unreviewed             |
Easy pickings:  0        |      UI/UX:  0
-------------------------+-------------------------------------------------
 Allow relative paths in argument of 'extends' and 'include' template tags.
 Relative path must start from "./". Examples:

 Extend "base.html", located in the same folder, where your template
 placed:

 {{{
 {% extends "./base.html" %}
 }}}

 Extend "base.html", located at two levels higher

 {{{
 {% extends "./../../base.html" %}
 }}}

 Extend "base.html", located in the 'dir1' subfolder, relatively current
 template:

 {{{
 {% extends "./dir1/base.html" %}
 }}}

 Discussion:
 https://groups.google.com/d/topic/django-developers/rDAJ0Ig6FoU/discussion

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/047.f4b93656041118afafc4d7aa3da4f796%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to