Exemplo n.º 1
0
def sitemap_xml(request):
    posts = Post.users_posts(0, 1000, True)

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