Skip to content

Allow the Django Sites package to be optional #130

Open
@jensenbox

Description

@jensenbox

It would be a lovely addition if there was no longer a need for the Django Sites package.

The current Sitemaps package has a brilliant fallback:

I think you might be able to replace

def get_current_site(self, request):
and just use what Django provides: https://github.com/django/django/blob/main/django/contrib/sites/shortcuts.py#L18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions