Skip to content

Bad Request when DEBUG=False and missing ALLOWED_HOST #5

@lukpueh

Description

@lukpueh

In DEBUG=False mode Django requires the setting ALLOWED_HOST listing allowed hosts, or else it responds with HTTP 400 (Bad request), see:

This should be explicitly mentioned in settings_base.py or settings.py as a placeholder or comment and/or in the Installation docs.

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