﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
17802	Pass the request down to the Sitemap callable	rm_	nobody	"It would be handy if the Sitemap would know a bit more about the environment so pass down to it the request. This is useful for me because i serve the same app under different domains and i'd like to serve a bit different sitemap. This could be useful too if you want to serve a different sitemap depending on the REMOTE_ADDR or HTTP_USER_AGENT.

Diffed against r17606.

Tests looks ok:

$ PYTHONPATH=. tests/runtests.py --settings=test_sqlite
Creating test database for alias 'default'...
Creating test database for alias 'other'...
[snip]
----------------------------------------------------------------------
Ran 4678 tests in 627.803s

OK (skipped=94, expected failures=2)
Destroying test database for alias 'default'...
Destroying test database for alias 'other'...
"	New feature	closed	contrib.sitemaps	dev	Normal	duplicate			Unreviewed	1	0	0	0	0	0
