diefenbach / django-lfs

An online-shop based on Django
http://www.getlfs.com
BSD 3-Clause "New" or "Revised" License
622 stars 222 forks source link

Use default protocol resolution if no settings #210

Closed pigletto closed 6 years ago

pigletto commented 6 years ago

It seems to be better to use default Sitemap behaviour to determine protocol (if protocol is None) instead of hardcoding "http" as default

diefenbach commented 6 years ago

Creates None a valid sitemap?

pigletto commented 6 years ago

If None is used then protocol is automatically detected based on current request (if it's using https then sitemap will also use https)