#26501: Docs for reusable apps is missing {% extends "mypp/base.html" %}
-------------------------------+--------------------
     Reporter:  guettli        |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Documentation  |    Version:  1.9
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 I am missing some information on this page:

   https://docs.djangoproject.com/en/1.9/intro/reusable-apps/

 If a reusable wants to render a whole page, who to do this?

 I like the solution from here: http://stackoverflow.com/a/36552447/633961

 The resusable app uses this in all its templates: {% extends
 "myreusableapp/base.html" %}

 And myreusableapp/base.html looks like this:

 {% extends "base.html" %}

 This is the way django-allauth works and I guess some other apps, too.

 Please include this (or a better way) in the docs.

--
Ticket URL: <https://code.djangoproject.com/ticket/26501>
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/050.88d42011c1285b90d3694fb955156c6c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to