From: nore...@djangoproject.com
Date: Sun, 10 Jan 2010 12:53:12 -0600 (CST)
Local: Sun, Jan 10 2010 1:53 pm
Subject: [Changeset] r12190 - django/trunk/docs/ref/contrib
Author: adrian
Date: 2010-01-10 12:53:11 -0600 (Sun, 10 Jan 2010) New Revision: 12190 Modified: Modified: django/trunk/docs/ref/contrib/sitemaps.txt - (r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}) This tells Django to build a sitemap when a client accesses :file:`/sitemap.xml`. @@ -261,7 +261,7 @@ # the sitemap .. _URLconf: ../url_dispatch/ Here's what the relevant URLconf lines would look like for the example above:: - (r'^sitemap.xml$', 'django.contrib.sitemaps.views.index', {'sitemaps': sitemaps}), This will automatically generate a :file:`sitemap.xml` file that references both You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||