Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include STATICSITEMAPS_FORCE_PROTOCOL option #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down