#24128: Admindocs doesn't account for template loaders
-------------------------------------+-------------------------------------
     Reporter:  Aymeric Augustin     |                    Owner:  Alexander
                                     |  Lazarević
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.admindocs    |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Alexander Lazarević):

 As an example I get the following for
 `http://localhost:8000/admin/doc/templates/base.html/` without the patch:

 {{{
 Template: "base.html"
 Search path for template "base.html":

     /home/laza/Projects/Django/empty/templates/base.html
 }}}

 and with the patch:

 {{{
 Template: "base.html"
 Search path for template "base.html":

 /home/laza/Projects/Django/django/django/contrib/admin/templates/base.html
 (does not exist)
     /home/laza/Projects/Django/empty/templates/base.html
 /home/laza/Projects/Django/django/django/contrib/admindocs/templates/base.html
 (does not exist)
 /home/laza/Projects/Django/django/django/contrib/auth/templates/base.html
 (does not exist)
 }}}

 So that's what the fix is about? Right now I'm not sure how to write a
 test for this.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/24128#comment:8>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018cf9105a27-60c8feba-e86a-4069-bcff-87716bb9065b-000000%40eu-central-1.amazonses.com.

Reply via email to