Fix generation of static templates URLs for sitemap.xml
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 2 May 2018 16:05:49 +0000 (12:05 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Wed, 2 May 2018 17:26:45 +0000 (13:26 -0400)
commitefcbcb18a57ca97c87c2cfb3aef3906129656295
tree123115f81b030c41cd77f3dd3c409d2497af2427
parent73706bdaba8d8f8fd099689a0d41377570aa031b
Fix generation of static templates URLs for sitemap.xml

Cause of issue is speculated to be due to different relative path
handling since upgrade of Django versions.  For the static pages,
the path is handled relative to the file that is generating the
URLs for the sitemap.
pgweb/core/struct.py