def sitemap_xml(request): posts = Post.users_posts(0, 1000, True) return render_to_response('app/sitemap.xml', locals(), mimetype='application/xml')