Opened 9 years ago
Last modified 9 years ago
#26501 closed New feature
Docs for reusable apps is missing {% extends "mypp/base.html" %} — at Initial Version
Reported by: | Thomas Güttler | Owned by: | nobody |
---|---|---|---|
Component: | Documentation | Version: | 1.9 |
Severity: | Normal | Keywords: | |
Cc: | tzanke@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I am missing some information on this page:
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.
Note:
See TracTickets
for help on using tickets.