Fixed #5747 -- Added missing file extension in flatpage documentation. Thanks, Rob Hudson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6531 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
433cbba512
commit
a1723aba3b
|
@ -48,7 +48,7 @@ with the given URL with a site ID that corresponds to the SITE_ID_ setting.
|
||||||
If it finds a match, it follows this algorithm:
|
If it finds a match, it follows this algorithm:
|
||||||
|
|
||||||
* If the flatpage has a custom template, it loads that template. Otherwise,
|
* If the flatpage has a custom template, it loads that template. Otherwise,
|
||||||
it loads the template ``flatpages/default``.
|
it loads the template ``flatpages/default.html``.
|
||||||
* It passes that template a single context variable, ``flatpage``, which is
|
* It passes that template a single context variable, ``flatpage``, which is
|
||||||
the flatpage object. It uses RequestContext_ in rendering the template.
|
the flatpage object. It uses RequestContext_ in rendering the template.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue