summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2006-08-31 23:31:25 +0000
committerAdrian Holovaty <adrian@holovaty.com>2006-08-31 23:31:25 +0000
commita30653ac54833e80ad56150a875fb046d86217dc (patch)
treecfffc485956b391e050c9f5ebd46593208ffa7e6 /docs
parent0a11c82b04c7afd6971f959326e092517a55e9a8 (diff)
Changed FlatpageSitemap to FlatPageSitemap, to be consistent with FlatPage model
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/sitemaps.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/sitemaps.txt b/docs/sitemaps.txt
index ac328d05e7..c23e170d22 100644
--- a/docs/sitemaps.txt
+++ b/docs/sitemaps.txt
@@ -208,13 +208,13 @@ Shortcuts
The sitemap framework provides a couple convenience classes for common cases:
-``FlatpageSitemap``
+``FlatPageSitemap``
-------------------
-The ``FlatpageSitemap`` class looks at all flatpages_ defined for the current
-``SITE_ID`` (see the `sites documentation`_) and creates an entry in the
-sitemap. These entries include only the ``location`` attribute -- not
-``lastmod``, ``changefreq`` or ``priority``.
+The ``django.contrib.sitemaps.FlatPageSitemap`` class looks at all flatpages_
+defined for the current ``SITE_ID`` (see the `sites documentation`_) and
+creates an entry in the sitemap. These entries include only the ``location``
+attribute -- not ``lastmod``, ``changefreq`` or ``priority``.
.. _flatpages: http://www.djangoproject.com/documentation/flatpages/
.. _sites documentation: http://www.djangoproject.com/documentation/sites/
@@ -239,7 +239,7 @@ Example
Here's an example of a URLconf_ using both::
from django.conf.urls.defaults import *
- from django.contrib.sitemap import FlatpageSitemap, GenericSitemap
+ from django.contrib.sitemap import FlatPageSitemap, GenericSitemap
from mysite.blog.models import Entry
info_dict = {
@@ -248,7 +248,7 @@ Here's an example of a URLconf_ using both::
}
sitemaps = {
- 'flatpages': FlatpageSitemap,
+ 'flatpages': FlatPageSitemap,
'blog': GenericSitemap(info_dict, priority=0.6),
}