#26501: Docs for reusable apps is missing {% extends "base.html" %}
-------------------------------+--------------------------------------
     Reporter:  guettli        |                    Owner:  nobody
         Type:  Uncategorized  |                   Status:  new
    Component:  Documentation  |                  Version:  1.9
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Description changed by guettli:

Old description:

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

New description:

 I am missing some information on this page:

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

 If a reusableapp wants to render a whole page, how 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#comment:2>
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/065.99c014e18a1456e7b4b0e03ff14a2c51%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to