Skip to content

Automatically get parent_host from current visited host #87

Open
@fanckush

Description

@fanckush

The reverse() (and {% url ...%}) in django use the same domain name from the user request. shouldn't the reverse() function (and {% host_url ... %}) act the same without needing to hard code the PARENT_HOST is the settings

I think the change needs to be around here:

if parent_host:

Any thoughts?

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