From 64971ac292c75b89f65e0e085181fec374d9cc3d Mon Sep 17 00:00:00 2001 From: Andrew <0coming.soon@gmail.com> Date: Fri, 18 Oct 2019 11:12:18 +0500 Subject: [PATCH] Include STATICSITEMAPS_FORCE_PROTOCOL option --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 5478de5..55a8cde 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,9 @@ Advanced settings ``STATICSITEMAPS_REFRESH_AFTER`` How often (in minutes) should the celery task be run. Defaults to 60 minutes. +``STATICSITEMAPS_FORCE_PROTOCOL`` + Force the protocol to use with django sites framework. Not specified by default, leaving Django sites framework decide what protocol to use ([quote from django docs](https://docs.djangoproject.com/en/2.2/ref/contrib/sitemaps/#django.contrib.sitemaps.Sitemap.protocol): `If the sitemap is built outside the context of a request, the default is 'http'`) + ``STATICSITEMAPS_MOCK_SITE`` True|False setting if you want to mock the Django sites framework. Useful if you want to use package without enabling django.contrib.sites. Defaults to False.