按照django的sitemaps框架指导
https://docs.djangoproject.com/en/1.9/ref/contrib/sitemaps/
生成sitemap.xml的时候
<url>
<loc>http://example.com/rand/1.html</loc>
<lastmod>2016-03-20</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<loc>http://example.com/rand/1.html</loc>
<lastmod>2016-03-20</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
默认的loc域名是example.com
这个域名可以在/admin框架中修改
实际上该值保存在django_site表中
如果没有使能admin的话
那么也可以直接修改django_site表中的数据