Ticket #5747: flatpages.diff
File flatpages.diff, 592 bytes (added by , 17 years ago) |
---|
-
docs/flatpages.txt
48 48 If it finds a match, it follows this algorithm: 49 49 50 50 * If the flatpage has a custom template, it loads that template. Otherwise, 51 it loads the template ``flatpages/default ``.51 it loads the template ``flatpages/default.html``. 52 52 * It passes that template a single context variable, ``flatpage``, which is 53 53 the flatpage object. It uses RequestContext_ in rendering the template. 54 54