mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
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 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
|
||||
the flatpage object. It uses RequestContext_ in rendering the template.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user